mirror of
https://github.com/mirror/make.git
synced 2025-01-05 09:50:09 +08:00
Formerly job.c.~97~
This commit is contained in:
parent
07c6b685b7
commit
3f0a207eaf
4
job.c
4
job.c
@ -47,6 +47,10 @@ char default_shell[] = "/bin/sh";
|
|||||||
|
|
||||||
#ifdef HAVE_WAITPID
|
#ifdef HAVE_WAITPID
|
||||||
#define WAIT_NOHANG(status) waitpid (-1, (status), WNOHANG)
|
#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. */
|
#else /* Don't have waitpid. */
|
||||||
#ifdef HAVE_WAIT3
|
#ifdef HAVE_WAIT3
|
||||||
#ifndef wait3
|
#ifndef wait3
|
||||||
|
Loading…
Reference in New Issue
Block a user