Mercurial > hg > xemacs-beta
annotate src/s/mach-bsd4-3.h @ 5405:2aa9cd456ae7
Move src/ to GPLv3.
author | Mike Sperber <sperber@deinprogramm.de> |
---|---|
date | Fri, 15 Oct 2010 16:35:24 +0200 |
parents | ba07c880114a |
children | 1f0b15040456 |
rev | line source |
---|---|
4926
c90385e49231
Add copyright and license information to s/mach-bsd4-3.h.
Jerry James <james@xemacs.org>
parents:
428
diff
changeset
|
1 /* Definitions file for XEmacs running on Mach (BSD 4.3) |
c90385e49231
Add copyright and license information to s/mach-bsd4-3.h.
Jerry James <james@xemacs.org>
parents:
428
diff
changeset
|
2 Copyright (C) 1985, 1986, 1993 Free Software Foundation, Inc. |
c90385e49231
Add copyright and license information to s/mach-bsd4-3.h.
Jerry James <james@xemacs.org>
parents:
428
diff
changeset
|
3 |
c90385e49231
Add copyright and license information to s/mach-bsd4-3.h.
Jerry James <james@xemacs.org>
parents:
428
diff
changeset
|
4 This file is part of XEmacs. |
c90385e49231
Add copyright and license information to s/mach-bsd4-3.h.
Jerry James <james@xemacs.org>
parents:
428
diff
changeset
|
5 |
5405
2aa9cd456ae7
Move src/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
5231
diff
changeset
|
6 XEmacs is free software: you can redistribute it and/or modify it |
4926
c90385e49231
Add copyright and license information to s/mach-bsd4-3.h.
Jerry James <james@xemacs.org>
parents:
428
diff
changeset
|
7 under the terms of the GNU General Public License as published by the |
5405
2aa9cd456ae7
Move src/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
5231
diff
changeset
|
8 Free Software Foundation, either version 3 of the License, or (at your |
2aa9cd456ae7
Move src/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
5231
diff
changeset
|
9 option) any later version. |
4926
c90385e49231
Add copyright and license information to s/mach-bsd4-3.h.
Jerry James <james@xemacs.org>
parents:
428
diff
changeset
|
10 |
c90385e49231
Add copyright and license information to s/mach-bsd4-3.h.
Jerry James <james@xemacs.org>
parents:
428
diff
changeset
|
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT |
c90385e49231
Add copyright and license information to s/mach-bsd4-3.h.
Jerry James <james@xemacs.org>
parents:
428
diff
changeset
|
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
c90385e49231
Add copyright and license information to s/mach-bsd4-3.h.
Jerry James <james@xemacs.org>
parents:
428
diff
changeset
|
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
c90385e49231
Add copyright and license information to s/mach-bsd4-3.h.
Jerry James <james@xemacs.org>
parents:
428
diff
changeset
|
14 for more details. |
c90385e49231
Add copyright and license information to s/mach-bsd4-3.h.
Jerry James <james@xemacs.org>
parents:
428
diff
changeset
|
15 |
c90385e49231
Add copyright and license information to s/mach-bsd4-3.h.
Jerry James <james@xemacs.org>
parents:
428
diff
changeset
|
16 You should have received a copy of the GNU General Public License |
5405
2aa9cd456ae7
Move src/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
5231
diff
changeset
|
17 along with XEmacs. If not, see <http://www.gnu.org/licenses/>. */ |
4926
c90385e49231
Add copyright and license information to s/mach-bsd4-3.h.
Jerry James <james@xemacs.org>
parents:
428
diff
changeset
|
18 |
428 | 19 /* Synched up with: FSF 19.31. */ |
20 | |
21 /* I don't care if this doesn't do more than including bsd4-3.h; | |
22 Mach is not bsd4-3 and the moment you forget it chances are that | |
23 you're in deep shit. */ | |
24 | |
25 #include "bsd4-3.h" | |
26 | |
27 /* The rest of this stuff is XEmacs additions. */ | |
28 | |
29 /* SYSTEM_TYPE should indicate the kind of system you are using. | |
30 It sets the Lisp variable system-type. */ | |
31 | |
32 #undef SYSTEM_TYPE | |
33 #define SYSTEM_TYPE "mach" | |
34 | |
35 /* Don't send signals to subprocesses by "typing" special chars at them. */ | |
36 #undef SIGNALS_VIA_CHARACTERS | |
37 | |
38 /* XEmacs change */ | |
39 /* unistd.h defines _POSIX_VERSION, which leads some things to believe | |
40 that _POSIX_PATH_MAX should be defined. Unfortunately, it isn't. */ | |
41 #ifndef NOT_C_CODE | |
42 #include <sys/param.h> | |
43 #define _POSIX_PATH_MAX MAXPATHLEN | |
44 #endif | |
45 | |
46 #ifndef NOT_C_CODE | |
47 typedef int pid_t; | |
48 /* XEmacs change */ | |
49 typedef unsigned short mode_t; | |
50 #endif /* NOT_C_CODE */ | |
51 | |
52 #if (defined(i386) || defined(ibmrt)) | |
53 /* use drem() instead of fmod() -- this is a BUG in the compiler runtime. */ | |
54 # define USE_DREM | |
55 #endif |