This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc-2.95 system.h WSTOPSIG


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
 
 
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]