Mercurial > hg > xemacs-beta
view src/s/mach-bsd4-3.h @ 5163:57f4dcb14ad5
Don't assume a Lisp_Object will fit in a Bytecount, src/alloc.c
2010-03-21 Aidan Kehoe <kehoea@parhasard.net>
* alloc.c (tick_lrecord_stats):
Fix the union build after Ben's last change, don't assume that a
Lisp_Object will fit into a Bytecount.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 21 Mar 2010 13:25:21 +0000 |
parents | c90385e49231 |
children | ba07c880114a 861f2601a38b |
line wrap: on
line source
/* Definitions file for XEmacs running on Mach (BSD 4.3) Copyright (C) 1985, 1986, 1993 Free Software Foundation, Inc. This file is part of XEmacs. XEmacs is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. XEmacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with XEmacs; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin St. - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Synched up with: FSF 19.31. */ /* I don't care if this doesn't do more than including bsd4-3.h; Mach is not bsd4-3 and the moment you forget it chances are that you're in deep shit. */ #include "bsd4-3.h" /* The rest of this stuff is XEmacs additions. */ /* SYSTEM_TYPE should indicate the kind of system you are using. It sets the Lisp variable system-type. */ #undef SYSTEM_TYPE #define SYSTEM_TYPE "mach" /* Don't send signals to subprocesses by "typing" special chars at them. */ #undef SIGNALS_VIA_CHARACTERS /* XEmacs change */ /* unistd.h defines _POSIX_VERSION, which leads some things to believe that _POSIX_PATH_MAX should be defined. Unfortunately, it isn't. */ #ifndef NOT_C_CODE #include <sys/param.h> #define _POSIX_PATH_MAX MAXPATHLEN #endif #ifndef NOT_C_CODE typedef int pid_t; /* XEmacs change */ typedef unsigned short mode_t; #endif /* NOT_C_CODE */ #if (defined(i386) || defined(ibmrt)) /* use drem() instead of fmod() -- this is a BUG in the compiler runtime. */ # define USE_DREM #endif