]> git.eshelyaron.com Git - emacs.git/commitdiff
(BSD): Redefine.
authorRichard M. Stallman <rms@gnu.org>
Sun, 5 Jun 1994 18:05:15 +0000 (18:05 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 5 Jun 1994 18:05:15 +0000 (18:05 +0000)
(WAITTYPE, WRETCODE, WCOREDUMP): New definitions.
Include wait.h.

src/s/bsd386.h

index 5a3358c6de202af6837f0aedd1be6c95fbd4a329..6197d19d71b4a63448d9c76a22f2700a9929c077 100644 (file)
 #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