From 5a3ee0b11900ce0cb04fe347d1dc01ef501d6add Mon Sep 17 00:00:00 2001 From: ghazi Date: Thu, 19 Nov 1998 10:13:46 +0000 Subject: * configure.in: Don't do AC_CHECK_HEADERS(wait.h sys/wait.h). Instead call AC_HEADER_SYS_WAIT. * collect2.c: Don't provide defaults for sys/wait.h macros. * gcc.c: Likewise. * protoize.c: Likewise. Also, don't include sys/wait.h. * system.h: Include sys/wait.h and provide macro defaults. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23712 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/gcc.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'gcc/gcc.c') diff --git a/gcc/gcc.c b/gcc/gcc.c index 57ac3fdc32d..77b90602a91 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -51,19 +51,6 @@ extern void set_std_prefix PROTO((char *, int)); #define PEXECUTE_SEARCH 4 #define PEXECUTE_VERBOSE 8 -#ifndef WIFSIGNALED -#define WIFSIGNALED(S) (((S) & 0xff) != 0 && ((S) & 0xff) != 0x7f) -#endif -#ifndef WTERMSIG -#define WTERMSIG(S) ((S) & 0x7f) -#endif -#ifndef WIFEXITED -#define WIFEXITED(S) (((S) & 0xff) == 0) -#endif -#ifndef WEXITSTATUS -#define WEXITSTATUS(S) (((S) & 0xff00) >> 8) -#endif - #ifdef VMS #define exit __posix_exit #endif -- cgit v1.2.1