diff options
| author | Karl Heuer | 1996-09-17 03:43:54 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-09-17 03:43:54 +0000 |
| commit | 6df54671fdbe53113164ffed5b36fa2a83ae85e0 (patch) | |
| tree | d4aeca53aa080087d8cdf29b430bef944b897e43 /src | |
| parent | 488b7cb38fdeb47e67b0f6e8edd10e01cbc55595 (diff) | |
| download | emacs-6df54671fdbe53113164ffed5b36fa2a83ae85e0.tar.gz emacs-6df54671fdbe53113164ffed5b36fa2a83ae85e0.zip | |
Replaced symbol BSD with BSD_SYSTEM.
Diffstat (limited to 'src')
| -rw-r--r-- | src/floatfns.c | 4 | ||||
| -rw-r--r-- | src/keyboard.c | 4 | ||||
| -rw-r--r-- | src/m/intel386.h | 4 | ||||
| -rw-r--r-- | src/m/mips.h | 10 | ||||
| -rw-r--r-- | src/m/mips4.h | 4 | ||||
| -rw-r--r-- | src/m/vax.h | 8 | ||||
| -rw-r--r-- | src/mem-limits.h | 2 | ||||
| -rw-r--r-- | src/process.c | 10 | ||||
| -rw-r--r-- | src/s/bsd386.h | 2 | ||||
| -rw-r--r-- | src/s/bsd4-1.h | 2 | ||||
| -rw-r--r-- | src/s/bsd4-2.h | 6 | ||||
| -rw-r--r-- | src/s/bsd4-3.h | 6 | ||||
| -rw-r--r-- | src/s/cxux.h | 2 | ||||
| -rw-r--r-- | src/s/freebsd.h | 6 | ||||
| -rw-r--r-- | src/s/msdos.h | 4 | ||||
| -rw-r--r-- | src/s/rtu.h | 2 | ||||
| -rw-r--r-- | src/s/umax.h | 2 | ||||
| -rw-r--r-- | src/s/umips.h | 9 | ||||
| -rw-r--r-- | src/syssignal.h | 2 | ||||
| -rw-r--r-- | src/syswait.h | 4 | ||||
| -rw-r--r-- | src/xterm.c | 4 |
21 files changed, 49 insertions, 48 deletions
diff --git a/src/floatfns.c b/src/floatfns.c index 37144a5eb18..87eb1f129aa 100644 --- a/src/floatfns.c +++ b/src/floatfns.c | |||
| @@ -885,7 +885,7 @@ float_error (signo) | |||
| 885 | if (! in_float) | 885 | if (! in_float) |
| 886 | fatal_error_signal (signo); | 886 | fatal_error_signal (signo); |
| 887 | 887 | ||
| 888 | #ifdef BSD | 888 | #ifdef BSD_SYSTEM |
| 889 | #ifdef BSD4_1 | 889 | #ifdef BSD4_1 |
| 890 | sigrelse (SIGILL); | 890 | sigrelse (SIGILL); |
| 891 | #else /* not BSD4_1 */ | 891 | #else /* not BSD4_1 */ |
| @@ -894,7 +894,7 @@ float_error (signo) | |||
| 894 | #else | 894 | #else |
| 895 | /* Must reestablish handler each time it is called. */ | 895 | /* Must reestablish handler each time it is called. */ |
| 896 | signal (SIGILL, float_error); | 896 | signal (SIGILL, float_error); |
| 897 | #endif /* BSD */ | 897 | #endif /* BSD_SYSTEM */ |
| 898 | 898 | ||
| 899 | in_float = 0; | 899 | in_float = 0; |
| 900 | 900 | ||
diff --git a/src/keyboard.c b/src/keyboard.c index c6dbd5fcc94..da9d29609cb 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -7321,7 +7321,7 @@ stuff_buffered_input (stuffstring) | |||
| 7321 | Lisp_Object stuffstring; | 7321 | Lisp_Object stuffstring; |
| 7322 | { | 7322 | { |
| 7323 | /* stuff_char works only in BSD, versions 4.2 and up. */ | 7323 | /* stuff_char works only in BSD, versions 4.2 and up. */ |
| 7324 | #ifdef BSD | 7324 | #ifdef BSD_SYSTEM |
| 7325 | #ifndef BSD4_1 | 7325 | #ifndef BSD4_1 |
| 7326 | register unsigned char *p; | 7326 | register unsigned char *p; |
| 7327 | 7327 | ||
| @@ -7351,7 +7351,7 @@ stuff_buffered_input (stuffstring) | |||
| 7351 | } | 7351 | } |
| 7352 | input_pending = 0; | 7352 | input_pending = 0; |
| 7353 | #endif | 7353 | #endif |
| 7354 | #endif /* BSD and not BSD4_1 */ | 7354 | #endif /* BSD_SYSTEM and not BSD4_1 */ |
| 7355 | } | 7355 | } |
| 7356 | 7356 | ||
| 7357 | set_waiting_for_input (time_to_clear) | 7357 | set_waiting_for_input (time_to_clear) |
diff --git a/src/m/intel386.h b/src/m/intel386.h index b8e6591b64b..fd2aac37376 100644 --- a/src/m/intel386.h +++ b/src/m/intel386.h | |||
| @@ -200,9 +200,9 @@ NOTE-END */ | |||
| 200 | #endif /* USG */ | 200 | #endif /* USG */ |
| 201 | #endif /* not XENIX */ | 201 | #endif /* not XENIX */ |
| 202 | 202 | ||
| 203 | #ifdef BSD | 203 | #ifdef BSD_SYSTEM |
| 204 | #define HAVE_ALLOCA | 204 | #define HAVE_ALLOCA |
| 205 | #endif /* BSD */ | 205 | #endif /* BSD_SYSTEM */ |
| 206 | 206 | ||
| 207 | /* If compiling with GCC, let GCC implement alloca. */ | 207 | /* If compiling with GCC, let GCC implement alloca. */ |
| 208 | #if defined(__GNUC__) && !defined(alloca) | 208 | #if defined(__GNUC__) && !defined(alloca) |
diff --git a/src/m/mips.h b/src/m/mips.h index 8c25c8733a3..00bca78eced 100644 --- a/src/m/mips.h +++ b/src/m/mips.h | |||
| @@ -130,7 +130,7 @@ NOTE-END */ | |||
| 130 | /* Alter some of the options used when linking. */ | 130 | /* Alter some of the options used when linking. */ |
| 131 | 131 | ||
| 132 | #ifndef NEWSOS5 | 132 | #ifndef NEWSOS5 |
| 133 | #ifdef BSD | 133 | #ifdef BSD_SYSTEM |
| 134 | 134 | ||
| 135 | /* DECstations don't have this library. | 135 | /* DECstations don't have this library. |
| 136 | #define LIBS_MACHINE -lmld */ | 136 | #define LIBS_MACHINE -lmld */ |
| @@ -140,7 +140,7 @@ NOTE-END */ | |||
| 140 | 140 | ||
| 141 | #define LINKER /bsd43/bin/ld | 141 | #define LINKER /bsd43/bin/ld |
| 142 | 142 | ||
| 143 | #else /* not BSD */ | 143 | #else /* not BSD_SYSTEM */ |
| 144 | 144 | ||
| 145 | #if defined(__GNUC__) && defined(_ABIN32) | 145 | #if defined(__GNUC__) && defined(_ABIN32) |
| 146 | #define LIBS_MACHINE | 146 | #define LIBS_MACHINE |
| @@ -160,7 +160,7 @@ NOTE-END */ | |||
| 160 | #define HAVE_VFORK /* Graciously provided by libX.a */ | 160 | #define HAVE_VFORK /* Graciously provided by libX.a */ |
| 161 | #endif | 161 | #endif |
| 162 | 162 | ||
| 163 | #endif /* not BSD */ | 163 | #endif /* not BSD_SYSTEM */ |
| 164 | #endif /* not NEWSOS5 */ | 164 | #endif /* not NEWSOS5 */ |
| 165 | 165 | ||
| 166 | /* The standard definitions of these macros would work ok, | 166 | /* The standard definitions of these macros would work ok, |
| @@ -214,11 +214,11 @@ NOTE-END */ | |||
| 214 | 214 | ||
| 215 | #endif /* USG */ | 215 | #endif /* USG */ |
| 216 | 216 | ||
| 217 | #ifdef BSD | 217 | #ifdef BSD_SYSTEM |
| 218 | #define COFF | 218 | #define COFF |
| 219 | #define TERMINFO | 219 | #define TERMINFO |
| 220 | #undef MAIL_USE_FLOCK /* Someone should check this. */ | 220 | #undef MAIL_USE_FLOCK /* Someone should check this. */ |
| 221 | #undef HAVE_UNION_WAIT | 221 | #undef HAVE_UNION_WAIT |
| 222 | #endif /* BSD */ | 222 | #endif /* BSD_SYSTEM */ |
| 223 | 223 | ||
| 224 | #endif /* not NEWSOS5 */ | 224 | #endif /* not NEWSOS5 */ |
diff --git a/src/m/mips4.h b/src/m/mips4.h index 8590d6e71bc..33905072ac0 100644 --- a/src/m/mips4.h +++ b/src/m/mips4.h | |||
| @@ -50,8 +50,8 @@ NOTE-END */ | |||
| 50 | #define NO_MODE_T | 50 | #define NO_MODE_T |
| 51 | 51 | ||
| 52 | /* These are needed on Riscos 4.0. | 52 | /* These are needed on Riscos 4.0. |
| 53 | It appears that's the only system which uses mips4.h and defined BSD. */ | 53 | It appears that's the only system which uses mips4.h and defines BSD. */ |
| 54 | #ifdef BSD | 54 | #ifdef BSD_SYSTEM |
| 55 | #undef HAVE_STRERROR | 55 | #undef HAVE_STRERROR |
| 56 | #undef HAVE_XRMSETDATABASE | 56 | #undef HAVE_XRMSETDATABASE |
| 57 | #undef HAVE_XSCREENRESOURCESTRING | 57 | #undef HAVE_XSCREENRESOURCESTRING |
diff --git a/src/m/vax.h b/src/m/vax.h index d651d74f37f..99d06d1c0d9 100644 --- a/src/m/vax.h +++ b/src/m/vax.h | |||
| @@ -70,7 +70,7 @@ NOTE-END */ | |||
| 70 | 70 | ||
| 71 | #define DOT_GLOBAL_START | 71 | #define DOT_GLOBAL_START |
| 72 | 72 | ||
| 73 | #ifdef BSD | 73 | #ifdef BSD_SYSTEM |
| 74 | /* USG systems I know of running on Vaxes do not actually | 74 | /* USG systems I know of running on Vaxes do not actually |
| 75 | support the load average, so disable it for them. */ | 75 | support the load average, so disable it for them. */ |
| 76 | 76 | ||
| @@ -82,7 +82,7 @@ NOTE-END */ | |||
| 82 | 82 | ||
| 83 | #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) | 83 | #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) |
| 84 | 84 | ||
| 85 | #endif /* BSD */ | 85 | #endif /* BSD_SYSTEM */ |
| 86 | 86 | ||
| 87 | #ifdef VMS | 87 | #ifdef VMS |
| 88 | 88 | ||
| @@ -111,9 +111,9 @@ NOTE-END */ | |||
| 111 | #define TEXT_START 0 | 111 | #define TEXT_START 0 |
| 112 | #endif /* USG */ | 112 | #endif /* USG */ |
| 113 | 113 | ||
| 114 | #ifdef BSD | 114 | #ifdef BSD_SYSTEM |
| 115 | #define HAVE_ALLOCA | 115 | #define HAVE_ALLOCA |
| 116 | #endif /* BSD */ | 116 | #endif /* BSD_SYSTEM */ |
| 117 | 117 | ||
| 118 | #ifdef VMS | 118 | #ifdef VMS |
| 119 | #define C_ALLOCA | 119 | #define C_ALLOCA |
diff --git a/src/mem-limits.h b/src/mem-limits.h index 5b8d9cc7f9c..333642f0c82 100644 --- a/src/mem-limits.h +++ b/src/mem-limits.h | |||
| @@ -83,7 +83,7 @@ extern POINTER start_of_data (); | |||
| 83 | #define EXCEEDS_LISP_PTR(ptr) ((EMACS_UINT) (ptr) >> VALBITS) | 83 | #define EXCEEDS_LISP_PTR(ptr) ((EMACS_UINT) (ptr) >> VALBITS) |
| 84 | #endif | 84 | #endif |
| 85 | 85 | ||
| 86 | #ifdef BSD | 86 | #ifdef BSD_SYSTEM |
| 87 | #ifndef DATA_SEG_BITS | 87 | #ifndef DATA_SEG_BITS |
| 88 | extern char etext; | 88 | extern char etext; |
| 89 | #define start_of_data() &etext | 89 | #define start_of_data() &etext |
diff --git a/src/process.c b/src/process.c index b94b1d30969..8880b8c9ca4 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -73,12 +73,12 @@ Boston, MA 02111-1307, USA. */ | |||
| 73 | #define NUMERIC_ADDR_ERROR (numeric_addr == -1) | 73 | #define NUMERIC_ADDR_ERROR (numeric_addr == -1) |
| 74 | #endif | 74 | #endif |
| 75 | 75 | ||
| 76 | #if defined(BSD) || defined(STRIDE) | 76 | #if defined(BSD_SYSTEM) || defined(STRIDE) |
| 77 | #include <sys/ioctl.h> | 77 | #include <sys/ioctl.h> |
| 78 | #if !defined (O_NDELAY) && defined (HAVE_PTYS) && !defined(USG5) | 78 | #if !defined (O_NDELAY) && defined (HAVE_PTYS) && !defined(USG5) |
| 79 | #include <fcntl.h> | 79 | #include <fcntl.h> |
| 80 | #endif /* HAVE_PTYS and no O_NDELAY */ | 80 | #endif /* HAVE_PTYS and no O_NDELAY */ |
| 81 | #endif /* BSD or STRIDE */ | 81 | #endif /* BSD_SYSTEM || STRIDE */ |
| 82 | 82 | ||
| 83 | #ifdef BROKEN_O_NONBLOCK | 83 | #ifdef BROKEN_O_NONBLOCK |
| 84 | #undef O_NONBLOCK | 84 | #undef O_NONBLOCK |
| @@ -1334,7 +1334,7 @@ create_process (process, new_argv, current_dir) | |||
| 1334 | #ifdef BSD4_1 | 1334 | #ifdef BSD4_1 |
| 1335 | sighold (SIGCHLD); | 1335 | sighold (SIGCHLD); |
| 1336 | #else /* not BSD4_1 */ | 1336 | #else /* not BSD4_1 */ |
| 1337 | #if defined (BSD) || defined (UNIPLUS) || defined (HPUX) | 1337 | #if defined (BSD_SYSTEM) || defined (UNIPLUS) || defined (HPUX) |
| 1338 | sigsetmask (sigmask (SIGCHLD)); | 1338 | sigsetmask (sigmask (SIGCHLD)); |
| 1339 | #else /* ordinary USG */ | 1339 | #else /* ordinary USG */ |
| 1340 | #if 0 | 1340 | #if 0 |
| @@ -1504,7 +1504,7 @@ create_process (process, new_argv, current_dir) | |||
| 1504 | #ifdef BSD4_1 | 1504 | #ifdef BSD4_1 |
| 1505 | sigrelse (SIGCHLD); | 1505 | sigrelse (SIGCHLD); |
| 1506 | #else /* not BSD4_1 */ | 1506 | #else /* not BSD4_1 */ |
| 1507 | #if defined (BSD) || defined (UNIPLUS) || defined (HPUX) | 1507 | #if defined (BSD_SYSTEM) || defined (UNIPLUS) || defined (HPUX) |
| 1508 | sigsetmask (SIGEMPTYMASK); | 1508 | sigsetmask (SIGEMPTYMASK); |
| 1509 | #else /* ordinary USG */ | 1509 | #else /* ordinary USG */ |
| 1510 | #if 0 | 1510 | #if 0 |
| @@ -1585,7 +1585,7 @@ create_process (process, new_argv, current_dir) | |||
| 1585 | #ifdef BSD4_1 | 1585 | #ifdef BSD4_1 |
| 1586 | sigrelse (SIGCHLD); | 1586 | sigrelse (SIGCHLD); |
| 1587 | #else /* not BSD4_1 */ | 1587 | #else /* not BSD4_1 */ |
| 1588 | #if defined (BSD) || defined (UNIPLUS) || defined (HPUX) | 1588 | #if defined (BSD_SYSTEM) || defined (UNIPLUS) || defined (HPUX) |
| 1589 | sigsetmask (SIGEMPTYMASK); | 1589 | sigsetmask (SIGEMPTYMASK); |
| 1590 | #else /* ordinary USG */ | 1590 | #else /* ordinary USG */ |
| 1591 | #if 0 | 1591 | #if 0 |
diff --git a/src/s/bsd386.h b/src/s/bsd386.h index 21ab7e0f0fe..c170c1efdca 100644 --- a/src/s/bsd386.h +++ b/src/s/bsd386.h | |||
| @@ -34,7 +34,7 @@ | |||
| 34 | 34 | ||
| 35 | /* This silences a few compilation warnings. */ | 35 | /* This silences a few compilation warnings. */ |
| 36 | #ifdef emacs | 36 | #ifdef emacs |
| 37 | #undef BSD | 37 | #undef BSD_SYSTEM |
| 38 | #include <sys/param.h> /* To get BSD defined consistently. */ | 38 | #include <sys/param.h> /* To get BSD defined consistently. */ |
| 39 | #endif | 39 | #endif |
| 40 | 40 | ||
diff --git a/src/s/bsd4-1.h b/src/s/bsd4-1.h index baaad1ee36e..9bca58f08b5 100644 --- a/src/s/bsd4-1.h +++ b/src/s/bsd4-1.h | |||
| @@ -26,7 +26,7 @@ Boston, MA 02111-1307, USA. */ | |||
| 26 | 26 | ||
| 27 | #define BSD4_1 | 27 | #define BSD4_1 |
| 28 | 28 | ||
| 29 | #define BSD | 29 | #define BSD_SYSTEM |
| 30 | 30 | ||
| 31 | /* SYSTEM_TYPE should indicate the kind of system you are using. | 31 | /* SYSTEM_TYPE should indicate the kind of system you are using. |
| 32 | It sets the Lisp variable system-type. */ | 32 | It sets the Lisp variable system-type. */ |
diff --git a/src/s/bsd4-2.h b/src/s/bsd4-2.h index 3f38d594dfc..51ca3b77a9f 100644 --- a/src/s/bsd4-2.h +++ b/src/s/bsd4-2.h | |||
| @@ -28,9 +28,9 @@ Boston, MA 02111-1307, USA. */ | |||
| 28 | #define BSD4_2 1 | 28 | #define BSD4_2 1 |
| 29 | #endif /* BSD4_2 */ | 29 | #endif /* BSD4_2 */ |
| 30 | 30 | ||
| 31 | #ifndef BSD | 31 | #ifndef BSD_SYSTEM |
| 32 | #define BSD 42 | 32 | #define BSD_SYSTEM 42 |
| 33 | #endif /* BSD */ | 33 | #endif /* BSD_SYSTEM */ |
| 34 | 34 | ||
| 35 | /* SYSTEM_TYPE should indicate the kind of system you are using. | 35 | /* SYSTEM_TYPE should indicate the kind of system you are using. |
| 36 | It sets the Lisp variable system-type. */ | 36 | It sets the Lisp variable system-type. */ |
diff --git a/src/s/bsd4-3.h b/src/s/bsd4-3.h index b221a667e1e..85671c37057 100644 --- a/src/s/bsd4-3.h +++ b/src/s/bsd4-3.h | |||
| @@ -30,9 +30,9 @@ Boston, MA 02111-1307, USA. */ | |||
| 30 | #define BSD4_3 1 | 30 | #define BSD4_3 1 |
| 31 | #endif /* BSD4_3 */ | 31 | #endif /* BSD4_3 */ |
| 32 | 32 | ||
| 33 | #ifndef BSD | 33 | #ifndef BSD_SYSTEM |
| 34 | #define BSD 43 | 34 | #define BSD_SYSTEM 43 |
| 35 | #endif /* BSD */ | 35 | #endif /* BSD_SYSTEM */ |
| 36 | 36 | ||
| 37 | /* SYSTEM_TYPE should indicate the kind of system you are using. | 37 | /* SYSTEM_TYPE should indicate the kind of system you are using. |
| 38 | It sets the Lisp variable system-type. */ | 38 | It sets the Lisp variable system-type. */ |
diff --git a/src/s/cxux.h b/src/s/cxux.h index bec58975b00..0281e789717 100644 --- a/src/s/cxux.h +++ b/src/s/cxux.h | |||
| @@ -32,7 +32,7 @@ Boston, MA 02111-1307, USA. */ | |||
| 32 | /* #define BSD4_1 */ | 32 | /* #define BSD4_1 */ |
| 33 | /* #define BSD4_2 */ | 33 | /* #define BSD4_2 */ |
| 34 | /* #define BSD4_3 */ | 34 | /* #define BSD4_3 */ |
| 35 | /* #define BSD */ | 35 | /* #define BSD_SYSTEM */ |
| 36 | /* #define VMS */ | 36 | /* #define VMS */ |
| 37 | 37 | ||
| 38 | #ifndef _CX_UX | 38 | #ifndef _CX_UX |
diff --git a/src/s/freebsd.h b/src/s/freebsd.h index ecfa869593f..9affb886231 100644 --- a/src/s/freebsd.h +++ b/src/s/freebsd.h | |||
| @@ -75,11 +75,11 @@ | |||
| 75 | #define TAB3 OXTABS | 75 | #define TAB3 OXTABS |
| 76 | 76 | ||
| 77 | /* this silences a few compilation warnings */ | 77 | /* this silences a few compilation warnings */ |
| 78 | #undef BSD | 78 | #undef BSD_SYSTEM |
| 79 | #if __FreeBSD__ == 1 | 79 | #if __FreeBSD__ == 1 |
| 80 | #define BSD 199103 | 80 | #define BSD_SYSTEM 199103 |
| 81 | #elif __FreeBSD__ == 2 | 81 | #elif __FreeBSD__ == 2 |
| 82 | #define BSD 199306 | 82 | #define BSD_SYSTEM 199306 |
| 83 | #endif | 83 | #endif |
| 84 | 84 | ||
| 85 | #define WAITTYPE int | 85 | #define WAITTYPE int |
diff --git a/src/s/msdos.h b/src/s/msdos.h index 6f1d6f10792..8d4e70a91bf 100644 --- a/src/s/msdos.h +++ b/src/s/msdos.h | |||
| @@ -35,7 +35,7 @@ Boston, MA 02111-1307, USA. */ | |||
| 35 | /* #define BSD4_1 */ | 35 | /* #define BSD4_1 */ |
| 36 | /* #define BSD4_2 */ | 36 | /* #define BSD4_2 */ |
| 37 | /* #define BSD4_3 */ | 37 | /* #define BSD4_3 */ |
| 38 | /* #define BSD */ | 38 | /* #define BSD_SYSTEM */ |
| 39 | /* #define VMS */ | 39 | /* #define VMS */ |
| 40 | #ifndef MSDOS | 40 | #ifndef MSDOS |
| 41 | #define MSDOS | 41 | #define MSDOS |
| @@ -50,7 +50,7 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */ | |||
| 50 | #endif | 50 | #endif |
| 51 | 51 | ||
| 52 | #define DOS_NT /* MSDOS or WINDOWSNT */ | 52 | #define DOS_NT /* MSDOS or WINDOWSNT */ |
| 53 | #undef BSD | 53 | #undef BSD_SYSTEM |
| 54 | #undef VMS | 54 | #undef VMS |
| 55 | 55 | ||
| 56 | /* SYSTEM_TYPE should indicate the kind of system you are using. | 56 | /* SYSTEM_TYPE should indicate the kind of system you are using. |
diff --git a/src/s/rtu.h b/src/s/rtu.h index 3e4aa0f24a9..45266f2716d 100644 --- a/src/s/rtu.h +++ b/src/s/rtu.h | |||
| @@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */ | |||
| 25 | */ | 25 | */ |
| 26 | 26 | ||
| 27 | #define BSD4_2 | 27 | #define BSD4_2 |
| 28 | #define BSD | 28 | #define BSD_SYSTEM |
| 29 | #define RTU | 29 | #define RTU |
| 30 | 30 | ||
| 31 | /* SYSTEM_TYPE should indicate the kind of system you are using. | 31 | /* SYSTEM_TYPE should indicate the kind of system you are using. |
diff --git a/src/s/umax.h b/src/s/umax.h index 54ae8d5f0d1..de631f608c4 100644 --- a/src/s/umax.h +++ b/src/s/umax.h | |||
| @@ -30,7 +30,7 @@ Boston, MA 02111-1307, USA. */ | |||
| 30 | /* #define BSD4_1 */ | 30 | /* #define BSD4_1 */ |
| 31 | #define BSD4_2 | 31 | #define BSD4_2 |
| 32 | /* #define BSD4_3 */ | 32 | /* #define BSD4_3 */ |
| 33 | #define BSD | 33 | #define BSD_SYSTEM |
| 34 | #define UMAX4_2 | 34 | #define UMAX4_2 |
| 35 | #define UMAX | 35 | #define UMAX |
| 36 | /* #define VMS */ | 36 | /* #define VMS */ |
diff --git a/src/s/umips.h b/src/s/umips.h index 608283eed61..07a4cd6bbb0 100644 --- a/src/s/umips.h +++ b/src/s/umips.h | |||
| @@ -1,8 +1,9 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Mips operating system. | 1 | /* Definitions file for GNU Emacs running on Mips operating system. |
| 2 | That system can emulate either BSD or Sys V, in either case with changes. | 2 | That system can emulate either BSD or Sys V, in either case with changes. |
| 3 | If BSD is defined, we assume BSD is being emulated; otherwise, Sys V. */ | 3 | If BSD_SYSTEM is defined, we assume BSD is being emulated; otherwise, |
| 4 | Sys V. */ | ||
| 4 | 5 | ||
| 5 | #ifdef BSD | 6 | #ifdef BSD_SYSTEM |
| 6 | #include "bsd4-3.h" | 7 | #include "bsd4-3.h" |
| 7 | 8 | ||
| 8 | #define C_SWITCH_SYSTEM -systype bsd43 | 9 | #define C_SWITCH_SYSTEM -systype bsd43 |
| @@ -17,7 +18,7 @@ | |||
| 17 | #undef MAIL_USE_FLOCK /* Someone should check this. */ | 18 | #undef MAIL_USE_FLOCK /* Someone should check this. */ |
| 18 | #undef HAVE_UNION_WAIT | 19 | #undef HAVE_UNION_WAIT |
| 19 | 20 | ||
| 20 | #else /* not BSD */ | 21 | #else /* not BSD_SYSTEM */ |
| 21 | 22 | ||
| 22 | #include "usg5-2-2.h" | 23 | #include "usg5-2-2.h" |
| 23 | 24 | ||
| @@ -70,7 +71,7 @@ | |||
| 70 | /* ??? */ | 71 | /* ??? */ |
| 71 | #define IRIS | 72 | #define IRIS |
| 72 | 73 | ||
| 73 | #endif /* not BSD */ | 74 | #endif /* not BSD_SYSTEM */ |
| 74 | 75 | ||
| 75 | /* High order bit must be stripped off nlist return values */ | 76 | /* High order bit must be stripped off nlist return values */ |
| 76 | #define FIXUP_KERNEL_SYMBOL_ADDR(NL) (NL)[0].n_value &= 0x7fffffff; | 77 | #define FIXUP_KERNEL_SYMBOL_ADDR(NL) (NL)[0].n_value &= 0x7fffffff; |
diff --git a/src/syssignal.h b/src/syssignal.h index 3c7d1da3d1e..b7e646a2787 100644 --- a/src/syssignal.h +++ b/src/syssignal.h | |||
| @@ -127,7 +127,7 @@ sigset_t sys_sigsetmask (/*sigset_t new_mask*/); | |||
| 127 | 127 | ||
| 128 | /* On bsd, [man says] kill does not accept a negative number to kill a pgrp. | 128 | /* On bsd, [man says] kill does not accept a negative number to kill a pgrp. |
| 129 | Must do that using the killpg call. */ | 129 | Must do that using the killpg call. */ |
| 130 | #ifdef BSD | 130 | #ifdef BSD_SYSTEM |
| 131 | #define EMACS_KILLPG(gid, signo) (killpg ( (gid), (signo))) | 131 | #define EMACS_KILLPG(gid, signo) (killpg ( (gid), (signo))) |
| 132 | #else | 132 | #else |
| 133 | #ifdef WINDOWSNT | 133 | #ifdef WINDOWSNT |
diff --git a/src/syswait.h b/src/syswait.h index 7127b3966ce..1889c36a32e 100644 --- a/src/syswait.h +++ b/src/syswait.h | |||
| @@ -34,7 +34,7 @@ Boston, MA 02111-1307, USA. */ | |||
| 34 | 34 | ||
| 35 | #else /* not WAIT_USE_INT */ | 35 | #else /* not WAIT_USE_INT */ |
| 36 | 36 | ||
| 37 | #if (!defined (BSD) && !defined (UNIPLUS) && !defined (STRIDE) && !(defined (HPUX) && !defined (NOMULTIPLEJOBS)) && !defined (HAVE_WAIT_HEADER)) | 37 | #if (!defined (BSD_SYSTEM) && !defined (UNIPLUS) && !defined (STRIDE) && !(defined (HPUX) && !defined (NOMULTIPLEJOBS)) && !defined (HAVE_WAIT_HEADER)) |
| 38 | #define WAITTYPE int | 38 | #define WAITTYPE int |
| 39 | #define WIFSTOPPED(w) ((w&0377) == 0177) | 39 | #define WIFSTOPPED(w) ((w&0377) == 0177) |
| 40 | #define WIFSIGNALED(w) ((w&0377) != 0177 && (w&~0377) == 0) | 40 | #define WIFSIGNALED(w) ((w&0377) != 0177 && (w&~0377) == 0) |
| @@ -84,7 +84,7 @@ Boston, MA 02111-1307, USA. */ | |||
| 84 | #ifndef WIFEXITED | 84 | #ifndef WIFEXITED |
| 85 | #define WIFEXITED(w) (WTERMSIG (w) == 0) | 85 | #define WIFEXITED(w) (WTERMSIG (w) == 0) |
| 86 | #endif | 86 | #endif |
| 87 | #endif /* BSD or UNIPLUS or STRIDE */ | 87 | #endif /* BSD_SYSTEM || UNIPLUS || STRIDE || HPUX */ |
| 88 | #endif /* not WAIT_USE_INT */ | 88 | #endif /* not WAIT_USE_INT */ |
| 89 | #endif /* no WAITTYPE */ | 89 | #endif /* no WAITTYPE */ |
| 90 | 90 | ||
diff --git a/src/xterm.c b/src/xterm.c index 2be321ef5f3..d1aa2d4e26e 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -51,9 +51,9 @@ Boston, MA 02111-1307, USA. */ | |||
| 51 | #endif /* makedev */ | 51 | #endif /* makedev */ |
| 52 | #endif /* USG */ | 52 | #endif /* USG */ |
| 53 | 53 | ||
| 54 | #ifdef BSD | 54 | #ifdef BSD_SYSTEM |
| 55 | #include <sys/ioctl.h> | 55 | #include <sys/ioctl.h> |
| 56 | #endif /* ! defined (BSD) */ | 56 | #endif /* ! defined (BSD_SYSTEM) */ |
| 57 | 57 | ||
| 58 | #include "systty.h" | 58 | #include "systty.h" |
| 59 | #include "systime.h" | 59 | #include "systime.h" |