diff options
| author | Roland McGrath | 1995-08-28 20:38:37 +0000 |
|---|---|---|
| committer | Roland McGrath | 1995-08-28 20:38:37 +0000 |
| commit | afe3e774719298e84da086e8b2fa58215b414ab9 (patch) | |
| tree | 64ede63f11dba7e574e53f9940ad38b70ab43f64 /src | |
| parent | aaf175012237d1bbde53bb49b553739887295351 (diff) | |
| download | emacs-afe3e774719298e84da086e8b2fa58215b414ab9.tar.gz emacs-afe3e774719298e84da086e8b2fa58215b414ab9.zip | |
(GETPGRP_NO_ARG, WAIT_USE_INT, UNEXEC): New macros.
(HAVE_SOCKETS, A_TEXT_SEEK, NO_REMAP): Macros removed.
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/gnu.h | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/src/s/gnu.h b/src/s/gnu.h index b5071fa1692..97b51dabebb 100644 --- a/src/s/gnu.h +++ b/src/s/gnu.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on the GNU Hurd. | 1 | /* Definitions file for GNU Emacs running on the GNU Hurd. |
| 2 | Copyright (C) 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1994, 1995 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -30,8 +30,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 30 | /* XXX should getloadavg be in libc? Should we have a libutil? | 30 | /* XXX should getloadavg be in libc? Should we have a libutil? |
| 31 | #define HAVE_GETLOADAVG */ | 31 | #define HAVE_GETLOADAVG */ |
| 32 | 32 | ||
| 33 | #define HAVE_UNION_WAIT | ||
| 34 | |||
| 35 | #define SIGNALS_VIA_CHARACTERS | 33 | #define SIGNALS_VIA_CHARACTERS |
| 36 | 34 | ||
| 37 | #define HAVE_TERMIOS | 35 | #define HAVE_TERMIOS |
| @@ -48,32 +46,25 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 48 | 46 | ||
| 49 | /* GNU has POSIX-style pgrp behavior. */ | 47 | /* GNU has POSIX-style pgrp behavior. */ |
| 50 | #undef BSD_PGRPS | 48 | #undef BSD_PGRPS |
| 49 | #define GETPGRP_NO_ARG | ||
| 51 | 50 | ||
| 52 | /* Reread the time zone on startup. */ | 51 | /* Reread the time zone on startup. */ |
| 53 | #define LOCALTIME_CACHE | 52 | #define LOCALTIME_CACHE |
| 54 | 53 | ||
| 55 | #define HAVE_WAIT_HEADER | 54 | #define HAVE_WAIT_HEADER |
| 55 | #define WAIT_USE_INT | ||
| 56 | #define HAVE_UNION_WAIT | ||
| 56 | 57 | ||
| 57 | /* GNU needs its own crt0, and libc defines data_start. */ | 58 | /* GNU needs its own crt0, and libc defines data_start. */ |
| 58 | #define ORDINARY_LINK | 59 | #define ORDINARY_LINK |
| 59 | #define DATA_START ({ extern int data_start; (char *) &data_start; }) | 60 | #define DATA_START ({ extern int data_start; (char *) &data_start; }) |
| 60 | 61 | ||
| 61 | /* It is not safe to move the text/data boundary because in GNU the C | 62 | /* GNU now always uses the ELF format. */ |
| 62 | library will need some data and bss of its own, but which must come | 63 | #define UNEXEC unexelf.o |
| 63 | after Emacs's data because it is linked in to satisfy references Emacs | ||
| 64 | makes. Fortunately, in GNU it is also no loss for the pure Lisp data to | ||
| 65 | be in data instead of text, because it's all mapped copy-on-write. */ | ||
| 66 | #define NO_REMAP | ||
| 67 | |||
| 68 | /* For the i386-mach a.out format: */ | ||
| 69 | #define A_TEXT_SEEK(hdr) (sizeof (struct exec)) | ||
| 70 | 64 | ||
| 71 | /* ptys are not done yet. */ | 65 | /* ptys are not done yet. */ |
| 72 | #undef HAVE_PTYS | 66 | #undef HAVE_PTYS |
| 73 | 67 | ||
| 74 | /* Until we finish the network. */ | ||
| 75 | #undef HAVE_SOCKETS | ||
| 76 | |||
| 77 | /* Some losing code fails to include this and then assumes | 68 | /* Some losing code fails to include this and then assumes |
| 78 | that because it is braindead that O_RDONLY==0. */ | 69 | that because it is braindead that O_RDONLY==0. */ |
| 79 | #ifndef NOT_C_CODE | 70 | #ifndef NOT_C_CODE |