aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-06-05 18:05:15 +0000
committerRichard M. Stallman1994-06-05 18:05:15 +0000
commit908fee497b5928b4f994f014e4da5f03fcef9279 (patch)
treee22a32cd40677d78c4f7435014faabf0c5c554ca /src
parentc326cbebdc10a3d561048c57bbf314b50d085112 (diff)
downloademacs-908fee497b5928b4f994f014e4da5f03fcef9279.tar.gz
emacs-908fee497b5928b4f994f014e4da5f03fcef9279.zip
(BSD): Redefine.
(WAITTYPE, WRETCODE, WCOREDUMP): New definitions. Include wait.h.
Diffstat (limited to 'src')
-rw-r--r--src/s/bsd386.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/s/bsd386.h b/src/s/bsd386.h
index 5a3358c6de2..6197d19d71b 100644
--- a/src/s/bsd386.h
+++ b/src/s/bsd386.h
@@ -25,3 +25,17 @@
25#define TAB3 OXTABS 25#define TAB3 OXTABS
26 26
27#define SYSV_SYSTEM_DIR 27#define SYSV_SYSTEM_DIR
28
29/* this silences a few compilation warnings */
30#undef BSD
31#define BSD 199103
32
33#define WAITTYPE int
34/* get this since it won't be included if WAITTYPE is defined */
35#ifdef emacs
36#include <sys/wait.h>
37#endif
38#define WRETCODE(w) WEXITSTATUS(w)
39#ifndef WCOREDUMP
40#define WCOREDUMP(w) ((w) & 0200)
41#endif