Mercurial > emacs
comparison src/s/freebsd.h @ 30082:0a8fd2579cb5
(WAITTYPE, WRETCODE): Put in #if 0.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 05 Jul 2000 19:57:51 +0000 |
parents | b04dc1778dee |
children | 735123628126 |
comparison
equal
deleted
inserted
replaced
30081:60dfd5c7304c | 30082:0a8fd2579cb5 |
---|---|
121 #define BSD_SYSTEM 199306 | 121 #define BSD_SYSTEM 199306 |
122 #elif __FreeBSD__ >= 3 | 122 #elif __FreeBSD__ >= 3 |
123 #define BSD_SYSTEM 199506 | 123 #define BSD_SYSTEM 199506 |
124 #endif | 124 #endif |
125 | 125 |
126 #if 0 /* Shouldn't be necessary and produces warnings with the | |
127 experimental Autoconf test. */ | |
126 #define WAITTYPE int | 128 #define WAITTYPE int |
127 /* get this since it won't be included if WAITTYPE is defined */ | 129 /* get this since it won't be included if WAITTYPE is defined */ |
128 #ifdef emacs | 130 #ifdef emacs |
129 #include <sys/wait.h> | 131 #include <sys/wait.h> |
130 #endif | 132 #endif |
131 #define WRETCODE(w) (_W_INT(w) >> 8) | 133 #define WRETCODE(w) (_W_INT(w) >> 8) |
134 #endif | |
132 | 135 |
133 /* Needed to avoid hanging when child process writes an error message | 136 /* Needed to avoid hanging when child process writes an error message |
134 and exits -- enami tsugutomo <enami@ba2.so-net.or.jp>. */ | 137 and exits -- enami tsugutomo <enami@ba2.so-net.or.jp>. */ |
135 #define vfork fork | 138 #define vfork fork |
136 | 139 |