From: Richard M. Stallman Date: Sun, 5 Jun 1994 18:05:15 +0000 (+0000) Subject: (BSD): Redefine. X-Git-Tag: emacs-19.34~8048 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=908fee497b5928b4f994f014e4da5f03fcef9279;p=emacs.git (BSD): Redefine. (WAITTYPE, WRETCODE, WCOREDUMP): New definitions. Include wait.h. --- 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 +#endif +#define WRETCODE(w) WEXITSTATUS(w) +#ifndef WCOREDUMP +#define WCOREDUMP(w) ((w) & 0200) +#endif