comparison src/s/mach-bsd4-3.h @ 0:376386a54a3c r19-14

Import from CVS: tag r19-14
author cvs
date Mon, 13 Aug 2007 08:45:50 +0200
parents
children 43dd3413c7c7
comparison
equal deleted inserted replaced
-1:000000000000 0:376386a54a3c
1 /* Synched up with: FSF 19.31. */
2
3 /* I don't care if this doesn't do more than including bsd4-3.h;
4 Mach is not bsd4-3 and the moment you forget it chances are that
5 you're in deep shit. */
6
7 #include "bsd4-3.h"
8
9 /* The rest of this stuff is XEmacs additions. */
10
11 /* SYSTEM_TYPE should indicate the kind of system you are using.
12 It sets the Lisp variable system-type. */
13
14 #undef SYSTEM_TYPE
15 #define SYSTEM_TYPE "mach"
16
17 /* Define this macro if system defines a type `union wait'. */
18
19 #define HAVE_UNION_WAIT
20
21 /* Don't send signals to subprocesses by "typing" special chars at them. */
22 #undef SIGNALS_VIA_CHARACTERS
23
24 /* XEmacs change */
25 /* unistd.h defines _POSIX_VERSION, which leads some things to believe
26 that _POSIX_PATH_MAX should be defined. Unfortunately, it isn't. */
27 #ifndef NOT_C_CODE
28 #include <sys/param.h>
29 #define _POSIX_PATH_MAX MAXPATHLEN
30 #endif
31
32 #ifndef NOT_C_CODE
33 typedef int pid_t;
34 /* XEmacs change */
35 typedef unsigned short mode_t;
36 #endif /* NOT_C_CODE */
37
38 #if (defined(i386) || defined(ibmrt))
39 /* use drem() instead of fmod() -- this is a BUG in the compiler runtime. */
40 # define USE_DREM
41 #endif