aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert1999-10-19 07:27:16 +0000
committerPaul Eggert1999-10-19 07:27:16 +0000
commit332d98c75d54e8a9eead3a1c2fbeb171d94bb7dd (patch)
tree5b7b71e7387a5074f6a4b956385d678d4fab7dea
parent68c45bf06516ed4650eb7f9f617742d84750600a (diff)
downloademacs-332d98c75d54e8a9eead3a1c2fbeb171d94bb7dd.tar.gz
emacs-332d98c75d54e8a9eead3a1c2fbeb171d94bb7dd.zip
* m/alpha.h: Do not include <stdlib.h>, as <config.h> does this now.
(NSIG): Remove. (NSIG_MINIMUM): New macro. * m/cydra5.h, m/dpx2.h, m/mips.h, m/pfa50.h, m/sps7.h, m/stride.h, m/ustation.h: (SIGIO): Do not undef. (BROKEN_SIGIO): New macro. * m/ustation.h: (SIGTSTP): Do not undef. (BROKEN_SIGTSTP): New macro. * m/delta.h: Doc fix.
-rw-r--r--src/m/alpha.h6
-rw-r--r--src/m/amdahl.h7
-rw-r--r--src/m/cydra5.h4
-rw-r--r--src/m/delta.h7
-rw-r--r--src/m/dpx2.h14
-rw-r--r--src/m/ibmrt-aix.h4
-rw-r--r--src/m/mips.h4
-rw-r--r--src/m/pfa50.h4
-rw-r--r--src/m/sps7.h8
-rw-r--r--src/m/stride.h4
-rw-r--r--src/m/ustation.h6
11 files changed, 25 insertions, 43 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h
index 4440421e41a..f211ef17cab 100644
--- a/src/m/alpha.h
+++ b/src/m/alpha.h
@@ -1,5 +1,5 @@
1/* machine description file For the alpha chip. 1/* machine description file For the alpha chip.
2 Copyright (C) 1994, 1997 Free Software Foundation, Inc. 2 Copyright (C) 1994, 1997, 1999 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -241,8 +241,6 @@ NOTE-END
241/* We need these because pointers are larger than the default ints. */ 241/* We need these because pointers are larger than the default ints. */
242#if !defined(__NetBSD__) && !defined(__OpenBSD__) 242#if !defined(__NetBSD__) && !defined(__OpenBSD__)
243#include <alloca.h> 243#include <alloca.h>
244#else
245#include <stdlib.h>
246#endif 244#endif
247 245
248/* Hack alert! For reasons unknown to mankind the string.h file insists 246/* Hack alert! For reasons unknown to mankind the string.h file insists
@@ -299,7 +297,7 @@ extern void r_alloc_free ();
299 if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \ 297 if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \
300 fd = -1; \ 298 fd = -1; \
301 sigsetmask (mask); \ 299 sigsetmask (mask); \
302 close (dummy); \ 300 emacs_close (dummy); \
303 } \ 301 } \
304 while (0) 302 while (0)
305#endif 303#endif
diff --git a/src/m/amdahl.h b/src/m/amdahl.h
index 08887b49410..9b4bb7481a9 100644
--- a/src/m/amdahl.h
+++ b/src/m/amdahl.h
@@ -1,5 +1,5 @@
1/* amdahl machine description file 1/* amdahl machine description file
2 Copyright (C) 1987 Free Software Foundation, Inc. 2 Copyright (C) 1987, 1999 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -150,7 +150,4 @@ extern int sign_extend_temp;
150#define STACK_DIRECTION -1 150#define STACK_DIRECTION -1
151 151
152/* Compensate for error in signal.h. */ 152/* Compensate for error in signal.h. */
153#if NSIG==19 153#define NSIG_MINIMUM 20
154#undef NSIG
155#define NSIG 20
156#endif
diff --git a/src/m/cydra5.h b/src/m/cydra5.h
index fe224f28fd9..5c8fe36388f 100644
--- a/src/m/cydra5.h
+++ b/src/m/cydra5.h
@@ -1,5 +1,5 @@
1/* machine description file for Cydrome's CYDRA 5 mini super computer 1/* machine description file for Cydrome's CYDRA 5 mini super computer
2 Copyright (C) 1988 Free Software Foundation, Inc. 2 Copyright (C) 1988, 1999 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -123,4 +123,4 @@ Boston, MA 02111-1307, USA. */
123 123
124/* We can't do interrupt-driven input, so don't let user try. */ 124/* We can't do interrupt-driven input, so don't let user try. */
125 125
126#undef SIGIO 126#define BROKEN_SIGIO
diff --git a/src/m/delta.h b/src/m/delta.h
index ee883656c30..8e8498bafd0 100644
--- a/src/m/delta.h
+++ b/src/m/delta.h
@@ -1,7 +1,7 @@
1/* Machine description file for the Motorola Delta. 1/* Machine description file for the Motorola Delta.
2 Tested on mvme147 board using R3V7 without X. Tested with gcc. 2 Tested on mvme147 board using R3V7 without X. Tested with gcc.
3 Tested on mvme167 board using R3V7 without X. Tested with cc, gnucc, gcc. 3 Tested on mvme167 board using R3V7 without X. Tested with cc, gnucc, gcc.
4 Copyright (C) 1986, 1993, 1994 Free Software Foundation, Inc. 4 Copyright (C) 1986, 1993, 1994, 1999 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
@@ -137,11 +137,6 @@ Boston, MA 02111-1307, USA. */
137#undef KERNEL_FILE 137#undef KERNEL_FILE
138#define KERNEL_FILE "/sysv68" 138#define KERNEL_FILE "/sysv68"
139#undef LDAV_SYMBOL 139#undef LDAV_SYMBOL
140#ifdef SIGIO
141 /* R3V7 has SIGIO, but interrupt input does not work yet.
142 Let's go on with cbreak code. */
143/* # define INTERRUPT_INPUT */
144#endif
145 140
146/* The standard C library is -lc881, not -lc. 141/* The standard C library is -lc881, not -lc.
147 -lbsd brings sigblock and sigsetmask. 142 -lbsd brings sigblock and sigsetmask.
diff --git a/src/m/dpx2.h b/src/m/dpx2.h
index 978b2fc88fd..4e72182907d 100644
--- a/src/m/dpx2.h
+++ b/src/m/dpx2.h
@@ -1,5 +1,5 @@
1/* machine description for Bull DPX/2 range 1/* machine description for Bull DPX/2 range
2 Copyright (C) 1985, 1986 Free Software Foundation, Inc. 2 Copyright (C) 1985, 1986, 1999 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -151,9 +151,7 @@ Boston, MA 02111-1307, USA. */
151 * if SIGIO is defined, much of the emacs 151 * if SIGIO is defined, much of the emacs
152 * code assumes we are BSD !! 152 * code assumes we are BSD !!
153 */ 153 */
154#ifdef SIGIO 154#define BROKEN_SIGIO
155# undef SIGIO
156#endif
157 155
158 156
159/* 157/*
@@ -162,7 +160,6 @@ Boston, MA 02111-1307, USA. */
162#define CLASH_DETECTION /* probably a good idea */ 160#define CLASH_DETECTION /* probably a good idea */
163 161
164 162
165#ifdef SIGTSTP
166/* 163/*
167 * sysdep.c(sys_suspend) works fine with emacs-18.58 164 * sysdep.c(sys_suspend) works fine with emacs-18.58
168 * and BOS 02.00.45, if you have an earler version 165 * and BOS 02.00.45, if you have an earler version
@@ -170,10 +167,9 @@ Boston, MA 02111-1307, USA. */
170 * to start a sub-shell rather than suspend-emacs, 167 * to start a sub-shell rather than suspend-emacs,
171 * un-comment out the next line. 168 * un-comment out the next line.
172 */ 169 */
173/* # undef SIGTSTP /* make suspend-emacs spawn a sub-shell */ 170/* # define BROKEN_SIGTSTP /* make suspend-emacs spawn a sub-shell */
174# ifdef NOMULTIPLEJOBS 171#ifdef NOMULTIPLEJOBS
175# undef NOMULTIPLEJOBS 172# undef NOMULTIPLEJOBS
176# endif
177#endif 173#endif
178/* 174/*
179 * no we don't want this at all 175 * no we don't want this at all
diff --git a/src/m/ibmrt-aix.h b/src/m/ibmrt-aix.h
index 6c655ea67fc..d1b80c899ea 100644
--- a/src/m/ibmrt-aix.h
+++ b/src/m/ibmrt-aix.h
@@ -1,5 +1,5 @@
1/* RTPC AIX machine/system dependent defines 1/* RTPC AIX machine/system dependent defines
2 Copyright (C) 1988 Free Software Foundation, Inc. 2 Copyright (C) 1988, 1999 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -106,7 +106,7 @@ Boston, MA 02111-1307, USA. */
106{ /* Check that server side not already open */ \ 106{ /* Check that server side not already open */ \
107 if ((ioctl (*ptyv, PTYSTATUS, 0) & 0xFFFF) != 0) \ 107 if ((ioctl (*ptyv, PTYSTATUS, 0) & 0xFFFF) != 0) \
108 { \ 108 { \
109 close (*ptyv); \ 109 emacs_close (*ptyv); \
110 continue; \ 110 continue; \
111 } \ 111 } \
112 /* And finally to be sure we can open it later */ \ 112 /* And finally to be sure we can open it later */ \
diff --git a/src/m/mips.h b/src/m/mips.h
index f2da4a2aa5a..c7ba9150809 100644
--- a/src/m/mips.h
+++ b/src/m/mips.h
@@ -1,5 +1,5 @@
1/* m- file for Mips machines. 1/* m- file for Mips machines.
2 Copyright (C) 1987, 1992 Free Software Foundation, Inc. 2 Copyright (C) 1987, 1992, 1999 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -198,7 +198,7 @@ NOTE-END */
198#undef static 198#undef static
199 199
200/* Don't try to use SIGIO or FIONREAD even though they are defined. */ 200/* Don't try to use SIGIO or FIONREAD even though they are defined. */
201#undef SIGIO 201#define BROKEN_SIGIO
202#define BROKEN_FIONREAD 202#define BROKEN_FIONREAD
203 203
204/* Describe special kernel features. */ 204/* Describe special kernel features. */
diff --git a/src/m/pfa50.h b/src/m/pfa50.h
index 561ba15bb20..5b8d47aef53 100644
--- a/src/m/pfa50.h
+++ b/src/m/pfa50.h
@@ -1,5 +1,5 @@
1/* Machine description file for PFU A-series. 1/* Machine description file for PFU A-series.
2 Copyright (C) 1988 Free Software Foundation, Inc. 2 Copyright (C) 1988, 1999 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -91,4 +91,4 @@ Boston, MA 02111-1307, USA. */
91 91
92#define NO_SIOCTL_H 92#define NO_SIOCTL_H
93 93
94#undef SIGIO 94#define BROKEN_SIGIO
diff --git a/src/m/sps7.h b/src/m/sps7.h
index 40f67c8b895..f1e83e24deb 100644
--- a/src/m/sps7.h
+++ b/src/m/sps7.h
@@ -1,5 +1,5 @@
1/* machine description file for Bull SPS-7. 1/* machine description file for Bull SPS-7.
2 Copyright (C) 1986 Free Software Foundation, Inc. 2 Copyright (C) 1986, 1999 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -99,12 +99,8 @@ Boston, MA 02111-1307, USA. */
99/* Use -T32 for 68020, -T16 otherwise */ 99/* Use -T32 for 68020, -T16 otherwise */
100 100
101#define C_SWITCH_MACHINE -T32 101#define C_SWITCH_MACHINE -T32
102
103/*
104 Here we assume that signal.h is included before config.h
105 so that we can override it here. */
106 102
107#undef SIGIO 103#define BROKEN_SIGIO
108 104
109/* Other than 68020 use ld16, as32, or undefine (defaults ld and as). */ 105/* Other than 68020 use ld16, as32, or undefine (defaults ld and as). */
110 106
diff --git a/src/m/stride.h b/src/m/stride.h
index 3e031ebe859..770ffe9c230 100644
--- a/src/m/stride.h
+++ b/src/m/stride.h
@@ -1,5 +1,5 @@
1/* Definitions file for GNU Emacs running on Stride Micro System-V.2.2 1/* Definitions file for GNU Emacs running on Stride Micro System-V.2.2
2 Copyright (C) 1985, 1986 Free Software Foundation, Inc. 2 Copyright (C) 1985, 1986, 1999 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -101,7 +101,7 @@ Boston, MA 02111-1307, USA. */
101 signals without losing them. So, I've gone back to non-SIGIO mode, so 101 signals without losing them. So, I've gone back to non-SIGIO mode, so
102 please append this line to the file "stride.h": 102 please append this line to the file "stride.h":
103 */ 103 */
104#undef SIGIO 104#define BROKEN_SIGIO
105 105
106/* Specify alignment requirement for start of text and data sections 106/* Specify alignment requirement for start of text and data sections
107 in the executable file. */ 107 in the executable file. */
diff --git a/src/m/ustation.h b/src/m/ustation.h
index b73ff291d12..70a9945dd7e 100644
--- a/src/m/ustation.h
+++ b/src/m/ustation.h
@@ -1,5 +1,5 @@
1/* machine description file for U-station (Nihon Unisys, SS5E; Sumitomo Denkoh, U-Station E30). 1/* machine description file for U-station (Nihon Unisys, SS5E; Sumitomo Denkoh, U-Station E30).
2 Copyright (C) 1986 Free Software Foundation, Inc. 2 Copyright (C) 1986, 1999 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -139,5 +139,5 @@ Boston, MA 02111-1307, USA. */
139#define EXEC_PAGESIZE 1024 139#define EXEC_PAGESIZE 1024
140#define PURESIZE 130000 140#define PURESIZE 130000
141 141
142#undef SIGIO 142#define BROKEN_SIGIO
143#undef SIGTSTP 143#define BROKEN_SIGTSTP