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
This commit is contained in:
Philippe De Muyter 1999-06-20 23:21:34 -06:00 committed by Jeff Law
parent cfb6c7ed40
commit 8fa213acf7
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -249,6 +249,9 @@ extern int errno;
#ifndef WEXITSTATUS
#define WEXITSTATUS(S) (((S) & 0xff00) >> 8)
#endif
#ifndef WSTOPSIG
#define WSTOPSIG WEXITSTATUS
#endif