diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-06-05 18:05:15 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-06-05 18:05:15 +0000 |
commit | 908fee497b5928b4f994f014e4da5f03fcef9279 (patch) | |
tree | e22a32cd40677d78c4f7435014faabf0c5c554ca /src/s/bsd386.h | |
parent | c326cbebdc10a3d561048c57bbf314b50d085112 (diff) | |
download | emacs-908fee497b5928b4f994f014e4da5f03fcef9279.tar.gz |
(BSD): Redefine.
(WAITTYPE, WRETCODE, WCOREDUMP): New definitions.
Include wait.h.
Diffstat (limited to 'src/s/bsd386.h')
-rw-r--r-- | src/s/bsd386.h | 14 |
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 @@ #define TAB3 OXTABS #define SYSV_SYSTEM_DIR + +/* this silences a few compilation warnings */ +#undef BSD +#define BSD 199103 + +#define WAITTYPE int +/* get this since it won't be included if WAITTYPE is defined */ +#ifdef emacs +#include <sys/wait.h> +#endif +#define WRETCODE(w) WEXITSTATUS(w) +#ifndef WCOREDUMP +#define WCOREDUMP(w) ((w) & 0200) +#endif |