mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-01-27 01:27:58 +00:00
(union wait check): If WEXITSTATUS and WTERMSIG are defined, just use int.
This commit is contained in:
parent
bd19554ea7
commit
d525f4dd72
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue