Mercurial > emacs
comparison src/s/hpux.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 | ee40177f6c68 |
children | 566fd2a966aa |
comparison
equal
deleted
inserted
replaced
26089:1a4c3573a216 | 26090:63fd40a97a75 |
---|---|
1 /* Definitions file for GNU Emacs running on HPUX release 7.0. | 1 /* Definitions file for GNU Emacs running on HPUX release 7.0. |
2 Based on AT&T System V.2. | 2 Based on AT&T System V.2. |
3 Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 3 Copyright (C) 1985, 1986, 1999 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GNU Emacs. | 5 This file is part of GNU Emacs. |
6 | 6 |
7 GNU Emacs is free software; you can redistribute it and/or modify | 7 GNU Emacs is free software; you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
153 /* | 153 /* |
154 #define _setjmp setjmp | 154 #define _setjmp setjmp |
155 #define _longjmp longjmp | 155 #define _longjmp longjmp |
156 */ | 156 */ |
157 | 157 |
158 /* On USG systems the system calls are interruptible by signals | |
159 that the user program has elected to catch. Thus the system call | |
160 must be retried in these cases. To handle this without massive | |
161 changes in the source code, we remap the standard system call names | |
162 to names for our own functions in sysdep.c that do the system call | |
163 with retries. */ | |
164 | |
165 #define read sys_read | |
166 #define open sys_open | |
167 #define write sys_write | |
168 | |
169 #define INTERRUPTIBLE_OPEN | |
170 #define INTERRUPTIBLE_IO | |
171 | |
172 /* Use the system provided termcap(3) library */ | 158 /* Use the system provided termcap(3) library */ |
173 #define TERMINFO | 159 #define TERMINFO |
174 | 160 |
175 /* The 48-bit versions are more winning for Emacs; | 161 /* The 48-bit versions are more winning for Emacs; |
176 the ordinary ones don't give even 32 bits. */ | 162 the ordinary ones don't give even 32 bits. */ |
177 #define random lrand48 | 163 #define random lrand48 |
178 #define srandom srand48 | 164 #define srandom srand48 |
179 | 165 |
180 /* In hpux, the symbol SIGIO is defined, but the feature | 166 /* In hpux, the symbol SIGIO is defined, but the feature |
181 doesn't work in the way Emacs needs it to. | 167 doesn't work in the way Emacs needs it to. */ |
182 | 168 |
183 Here we assume that signal.h is included before config.h | 169 #define BROKEN_SIGIO |
184 so that we can override it here. */ | |
185 | |
186 #undef SIGIO | |
187 | 170 |
188 /* USG systems tend to put everything declared static | 171 /* USG systems tend to put everything declared static |
189 into the initialized data area, which becomes pure after dumping Emacs. | 172 into the initialized data area, which becomes pure after dumping Emacs. |
190 Foil this. Emacs carefully avoids static vars inside functions. */ | 173 Foil this. Emacs carefully avoids static vars inside functions. */ |
191 | 174 |