aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/hpux.h
diff options
context:
space:
mode:
authorPaul Eggert1999-10-19 07:28:36 +0000
committerPaul Eggert1999-10-19 07:28:36 +0000
commitbb7b4368705653b7a2de353e4fd689f5cc8798f9 (patch)
treecf00a391f0b59b71eb5acd30d8c3ef0fff8d40c8 /src/s/hpux.h
parent332d98c75d54e8a9eead3a1c2fbeb171d94bb7dd (diff)
downloademacs-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/hpux.h')
-rw-r--r--src/s/hpux.h23
1 files changed, 3 insertions, 20 deletions
diff --git a/src/s/hpux.h b/src/s/hpux.h
index 5b1f42d1501..69290ea802d 100644
--- a/src/s/hpux.h
+++ b/src/s/hpux.h
@@ -1,6 +1,6 @@
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
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -155,20 +155,6 @@ Boston, MA 02111-1307, USA. */
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
@@ -178,12 +164,9 @@ Boston, MA 02111-1307, USA. */
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
183 Here we assume that signal.h is included before config.h
184 so that we can override it here. */
185 168
186#undef SIGIO 169#define BROKEN_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.