Mercurial > hg > xemacs-beta
annotate src/s/gnu.h @ 5420:b9167d522a9a
Rebase with 21.5 trunk.
| author | Mats Lidell <matsl@xemacs.org> |
|---|---|
| date | Thu, 28 Oct 2010 23:53:24 +0200 |
| parents | 308d34e9f07d |
| children | 1f0b15040456 |
| rev | line source |
|---|---|
| 613 | 1 /* Definitions file for XEmacs running on the GNU Hurd. |
| 428 | 2 Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. |
| 3 | |
| 613 | 4 This file is part of XEmacs. |
| 428 | 5 |
|
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
613
diff
changeset
|
6 XEmacs is free software: you can redistribute it and/or modify it |
|
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
613
diff
changeset
|
7 under the terms of the GNU General Public License as published by the |
|
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
613
diff
changeset
|
8 Free Software Foundation, either version 3 of the License, or (at your |
|
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
613
diff
changeset
|
9 option) any later version. |
| 428 | 10 |
|
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
613
diff
changeset
|
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT |
|
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
613
diff
changeset
|
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
613
diff
changeset
|
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
613
diff
changeset
|
14 for more details. |
| 428 | 15 |
| 16 You should have received a copy of the GNU General Public License | |
|
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
613
diff
changeset
|
17 along with XEmacs. If not, see <http://www.gnu.org/licenses/>. */ |
| 428 | 18 |
| 19 /* Synched up with: FSF 19.31. */ | |
| 20 | |
| 21 /* Get most of the stuff from bsd4.3 */ | |
| 22 #include "bsd4-3.h" | |
| 23 | |
| 24 /* For mem-limits.h. */ | |
| 25 #define BSD4_2 | |
| 26 | |
| 27 #undef SYSTEM_TYPE | |
| 28 #define SYSTEM_TYPE "gnu" | |
| 29 | |
| 30 #define LIBS_DEBUG | |
| 31 | |
| 32 /* GNU needs its own crt0, and libc defines data_start. */ | |
| 33 #define ORDINARY_LINK | |
| 34 #define DATA_START ({ extern int data_start; (char *) &data_start; }) | |
| 35 | |
| 36 /* GNU now always uses the ELF format. */ | |
| 37 #define UNEXEC "unexelf.o" | |
| 38 | |
| 39 /* Some losing code fails to include this and then assumes | |
| 40 that because it is braindead that O_RDONLY==0. */ | |
| 41 #ifndef NOT_C_CODE | |
| 42 #include <fcntl.h> | |
| 43 #endif |
