From: Philippe De Muyter Date: Mon, 21 Jun 1999 05:21:34 +0000 (-0600) Subject: Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in compiler flags. X-Git-Tag: releases/libgcj-2.95.0~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fa213acf77105769316fa70c6f0b3c632d3f62a;p=thirdparty%2Fgcc.git Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in compiler flags. x * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in compiler flags. * system.h (WSTOPSIG): New macro. From-SVN: r27653 --- diff --git a/gcc/fixinc/Makefile.in b/gcc/fixinc/Makefile.in index 8976c783e726..9182337c76a0 100644 --- a/gcc/fixinc/Makefile.in +++ b/gcc/fixinc/Makefile.in @@ -82,7 +82,7 @@ fixincl: $(OBJ) gnu-regex.o: gnu-regex.c -$(CC) $(CFLAGS) $(FIXINC_DEFS) $(INCLUDES) -DREGEX_MALLOC \ - -DSTDC_HEADERS=1 -c $(srcdir)/gnu-regex.c + -c $(srcdir)/gnu-regex.c fixincl.o : fixincl.x fixincl.c server.o : server.c server.h diff --git a/gcc/system.h b/gcc/system.h index 3ec73a6cab1f..22b48ab723c4 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -249,6 +249,9 @@ extern int errno; #ifndef WEXITSTATUS #define WEXITSTATUS(S) (((S) & 0xff00) >> 8) #endif +#ifndef WSTOPSIG +#define WSTOPSIG WEXITSTATUS +#endif