Mercurial > emacs
comparison src/s/gnu-linux.h @ 26090:63fd40a97a75
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.
author | Paul Eggert <eggert@twinsun.com> |
---|---|
date | Tue, 19 Oct 1999 07:28:36 +0000 |
parents | ae314c884db0 |
children | 539733154e0a |
comparison
equal
deleted
inserted
replaced
26089:1a4c3573a216 | 26090:63fd40a97a75 |
---|---|
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 |
6 GNU Emacs is free software; you can redistribute it and/or modify | 6 GNU Emacs is free software; you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
110 you might define certain system call names that don't | 110 you might define certain system call names that don't |
111 exist on your system, or that do different things on | 111 exist on your system, or that do different things on |
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 */ |
134 | 118 |
135 /* #define LINUX_LDAV_FILE "/proc/loadavg" */ | 119 /* #define LINUX_LDAV_FILE "/proc/loadavg" */ |
170 #endif /* __mips__ */ | 154 #endif /* __mips__ */ |
171 #endif /* __ELF__ */ | 155 #endif /* __ELF__ */ |
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 |
188 /* This is needed for sysdep.c */ | 171 /* This is needed for sysdep.c */ |
189 | 172 |