aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe De Muyter <phdm@macqel.be>1999-06-20 23:21:34 -0600
committerJeff Law <law@gcc.gnu.org>1999-06-20 23:21:34 -0600
commit8fa213acf77105769316fa70c6f0b3c632d3f62a (patch)
tree575fdb1e40f5c48ada0485a89bd995a24ef33cfd
parentcfb6c7ed40a877b6de501501826e076ed76f38bc (diff)
downloadgcc-8fa213acf77105769316fa70c6f0b3c632d3f62a.zip
gcc-8fa213acf77105769316fa70c6f0b3c632d3f62a.tar.gz
gcc-8fa213acf77105769316fa70c6f0b3c632d3f62a.tar.bz2
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
-rw-r--r--gcc/fixinc/Makefile.in2
-rw-r--r--gcc/system.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/fixinc/Makefile.in b/gcc/fixinc/Makefile.in
index 8976c78..9182337 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 3ec73a6..22b48ab 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