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:
parent
cfb6c7ed40
commit
8fa213acf7
|
@ -82,7 +82,7 @@ fixincl: $(OBJ)
|
||||||
|
|
||||||
gnu-regex.o: gnu-regex.c
|
gnu-regex.o: gnu-regex.c
|
||||||
-$(CC) $(CFLAGS) $(FIXINC_DEFS) $(INCLUDES) -DREGEX_MALLOC \
|
-$(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
|
fixincl.o : fixincl.x fixincl.c
|
||||||
server.o : server.c server.h
|
server.o : server.c server.h
|
||||||
|
|
|
@ -249,6 +249,9 @@ extern int errno;
|
||||||
#ifndef WEXITSTATUS
|
#ifndef WEXITSTATUS
|
||||||
#define WEXITSTATUS(S) (((S) & 0xff00) >> 8)
|
#define WEXITSTATUS(S) (((S) & 0xff00) >> 8)
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef WSTOPSIG
|
||||||
|
#define WSTOPSIG WEXITSTATUS
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue