mirror of
https://github.com/mirror/make.git
synced 2025-03-14 03:40:32 +08:00
(union wait check): If WEXITSTATUS and WTERMSIG are defined, just use int.
This commit is contained in:
parent
bd19554ea7
commit
d525f4dd72
@ -66,6 +66,10 @@ AC_TRY_LINK([#include <sys/types.h>
|
||||
union wait type, and they do not work together. If union wait
|
||||
conflicts with WEXITSTATUS et al, we don't want to use it at all. */
|
||||
if (WEXITSTATUS (status) != 0) pid = -1;
|
||||
#ifdef WTERMSIG
|
||||
/* If we have WEXITSTATUS and WTERMSIG, just use them on ints. */
|
||||
-- blow chunks here --
|
||||
#endif
|
||||
#endif
|
||||
#ifdef HAVE_WAITPID
|
||||
/* Make sure union wait works with waitpid. */
|
||||
|
Loading…
Reference in New Issue
Block a user