summaryrefslogtreecommitdiffstats
path: root/contrib/cvs/lib/wait.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/cvs/lib/wait.h')
-rw-r--r--contrib/cvs/lib/wait.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/cvs/lib/wait.h b/contrib/cvs/lib/wait.h
index 60ed47a..81df938 100644
--- a/contrib/cvs/lib/wait.h
+++ b/contrib/cvs/lib/wait.h
@@ -27,6 +27,9 @@
#ifndef WIFEXITED
#define WIFEXITED(w) (((w) & 0xff) == 0)
#endif
+#ifndef WCOREDUMP /* not POSIX, but common and useful */
+#define WCOREDUMP(w) (((w) & 0x80) != 0)
+#endif
#ifndef WSTOPSIG
#define WSTOPSIG(w) (((w) >> 8) & 0xff)
OpenPOWER on IntegriCloud