annotate src/s/mach-bsd4-3.h @ 165:5a88923fcbfe r20-3b9

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