gcc-2.95 system.h WSTOPSIG

Philippe De Muyter phdm@macqel.be
Wed Jun 9 10:57:00 GMT 1999


Symptom :
cc -o fixincl fixincl.o server.o gnu-regex.o procopen.o ../../libiberty/libibert
y.a
fixincl.o: In function `wait_for_pid':
fixincl.c:382: undefined reference to `WSTOPSIG'

Fix :
Wed Jun  9 12:53:56 1999  Philippe De Muyter  <phdm@macqel.be>

	* system.h (WSTOPSIG): New macro.

--- ./gcc/system.h	Wed Jun  9 19:53:35 1999
+++ ./gcc/system.h	Wed Jun  9 19:49:47 1999
@@ -249,6 +249,9 @@
 #ifndef WEXITSTATUS
 #define WEXITSTATUS(S) (((S) & 0xff00) >> 8)
 #endif
+#ifndef WSTOPSIG
+#define WSTOPSIG WEXITSTATUS
+#endif
 
 
 


More information about the Gcc-patches mailing list