# HG changeset patch # User Richard M. Stallman # Date 770839515 0 # Node ID 94a6c666e4ef55534106c80143da69cfedbed753 # Parent 781655f97fee64319f46799f1644442d22f15e77 (BSD): Redefine. (WAITTYPE, WRETCODE, WCOREDUMP): New definitions. Include wait.h. diff -r 781655f97fee -r 94a6c666e4ef src/s/bsd386.h --- a/src/s/bsd386.h Sun Jun 05 18:00:08 1994 +0000 +++ b/src/s/bsd386.h Sun Jun 05 18:05:15 1994 +0000 @@ -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 +#endif +#define WRETCODE(w) WEXITSTATUS(w) +#ifndef WCOREDUMP +#define WCOREDUMP(w) ((w) & 0200) +#endif