Commit 908fee49 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(BSD): Redefine.

(WAITTYPE, WRETCODE, WCOREDUMP): New definitions.
Include wait.h.
parent c326cbeb
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment