summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-04-06 00:21:23 +0000
committerRoland McGrath <roland@redhat.com>1993-04-06 00:21:23 +0000
commit3f0a207eaf763d43f4a3728dfa7a9b5d3dd74a2e (patch)
treeb1bd32f1e982627075e5ffb43dedfa6f7b546c1f
parent07c6b685b7770602747def592ce24b0256bbd9b1 (diff)
downloadgunmake-3f0a207eaf763d43f4a3728dfa7a9b5d3dd74a2e.tar.gz
Formerly job.c.~97~
-rw-r--r--job.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/job.c b/job.c
index 2ae14c0..43453b8 100644
--- a/job.c
+++ b/job.c
@@ -47,6 +47,10 @@ char default_shell[] = "/bin/sh";
#ifdef HAVE_WAITPID
#define WAIT_NOHANG(status) waitpid (-1, (status), WNOHANG)
+/* The second arg to `waitpid' is always an `int *'.
+ The system might support `union wait' for compatibility in calls to
+ `wait3' or `wait', but most such systems don't support it for `waitpid'. */
+#undef HAVE_UNION_WAIT
#else /* Don't have waitpid. */
#ifdef HAVE_WAIT3
#ifndef wait3