diff options
| author | Paul Eggert | 1999-10-19 07:28:36 +0000 |
|---|---|---|
| committer | Paul Eggert | 1999-10-19 07:28:36 +0000 |
| commit | bb7b4368705653b7a2de353e4fd689f5cc8798f9 (patch) | |
| tree | cf00a391f0b59b71eb5acd30d8c3ef0fff8d40c8 /src/s/gnu-linux.h | |
| parent | 332d98c75d54e8a9eead3a1c2fbeb171d94bb7dd (diff) | |
| download | emacs-bb7b4368705653b7a2de353e4fd689f5cc8798f9.tar.gz emacs-bb7b4368705653b7a2de353e4fd689f5cc8798f9.zip | |
s/usg5-4.h:
(NSIG): Remove.
(NSIG_MINIMUM): New macro.
s/gnu-linux.h, s/hpux.h, s/iris3-5.h, s/iris3-6.h,
s/umips.h, s/usg5-4.h:
(SIGIO): Do not undef.
(BROKEN_SIGIO): New macro.
* s/gnu-linux.h:
(SIGPOLL, SIGURG): Do not undef.
(BROKEN_SIGPOLL, BROKEN_SIGURG): New macros.
* s/ptx4.h:
(SIGINFO): Do not undef.
(BROKEN_SIGINFO): New macros.
* s/ptx.h, s/template.h: Doc fix.
* s/aix3-1.h, s/bsd4-1.h, s/dgux.h, s/gnu-linux.h, s/hiuxmpp.h,
s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/irix3-3.h, s/osf1.h, s/rtu.h,
s/sunos4-1.h, s/unipl5-0.h, s/unipl5-2.h, s/usg5-0.h, s/usg5-2-2.h,
s/usg5-2.h, s/usg5-3.h, s/xenix.h:
(open, close, read, write, INTERRUPTIBLE_OPEN,
INTERRUPTIBLE_CLOSE, INTERRUPTIBLE_IO): Remove.
* s/sol2-5.h (_LARGEFILE_SOURCE, _FILE_OFFSET_BITS): New macros.
Diffstat (limited to 'src/s/gnu-linux.h')
| -rw-r--r-- | src/s/gnu-linux.h | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index 2b9a80cf1a8..68b3e8d5a41 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* This file is the configuration file for Linux-based GNU systems | 1 | /* This file is the configuration file for Linux-based GNU systems |
| 2 | Copyright (C) 1985, 1986, 1992, 1994, 1996 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 86, 92, 94, 96, 1999 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -112,22 +112,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 112 | your system and must be used only through an encapsulation | 112 | your system and must be used only through an encapsulation |
| 113 | (Which you should place, by convention, in sysdep.c). */ | 113 | (Which you should place, by convention, in sysdep.c). */ |
| 114 | 114 | ||
| 115 | /* On POSIX systems the system calls are interruptible by signals | ||
| 116 | that the user program has elected to catch. Thus the system call | ||
| 117 | must be retried in these cases. To handle this without massive | ||
| 118 | changes in the source code, we remap the standard system call names | ||
| 119 | to names for our own functions in sysdep.c that do the system call | ||
| 120 | with retries. */ | ||
| 121 | |||
| 122 | #define read sys_read | ||
| 123 | #define write sys_write | ||
| 124 | #define open sys_open | ||
| 125 | #define close sys_close | ||
| 126 | |||
| 127 | #define INTERRUPTIBLE_OPEN | ||
| 128 | #define INTERRUPTIBLE_CLOSE | ||
| 129 | #define INTERRUPTIBLE_IO | ||
| 130 | |||
| 131 | /* If you mount the proc file system somewhere other than /proc | 115 | /* If you mount the proc file system somewhere other than /proc |
| 132 | you will have to uncomment the following and make the proper | 116 | you will have to uncomment the following and make the proper |
| 133 | changes */ | 117 | changes */ |
| @@ -172,16 +156,15 @@ Boston, MA 02111-1307, USA. */ | |||
| 172 | 156 | ||
| 173 | /* As of version 1.1.51, Linux did not actually implement SIGIO. | 157 | /* As of version 1.1.51, Linux did not actually implement SIGIO. |
| 174 | But it works in newer versions. */ | 158 | But it works in newer versions. */ |
| 175 | /* Here we assume that signal.h is already included. */ | ||
| 176 | #ifdef emacs | 159 | #ifdef emacs |
| 177 | #ifdef LINUX_SIGIO_DOES_WORK | 160 | #ifdef LINUX_SIGIO_DOES_WORK |
| 178 | #define INTERRUPT_INPUT | 161 | #define INTERRUPT_INPUT |
| 179 | #else | 162 | #else |
| 180 | #undef SIGIO | 163 | #define BROKEN_SIGIO |
| 181 | /* Some versions of Linux define SIGURG and SIGPOLL as aliases for SIGIO. | 164 | /* Some versions of Linux define SIGURG and SIGPOLL as aliases for SIGIO. |
| 182 | This prevents lossage in process.c. */ | 165 | This prevents lossage in process.c. */ |
| 183 | #undef SIGURG | 166 | #define BROKEN_SIGURG |
| 184 | #undef SIGPOLL | 167 | #define BROKEN_SIGPOLL |
| 185 | #endif | 168 | #endif |
| 186 | #endif | 169 | #endif |
| 187 | 170 | ||