This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
gcc-2.95 system.h WSTOPSIG
- To: egcs-patches at egcs dot cygnus dot com (egcs-patches at egcs dot cygnus dot com)
- Subject: gcc-2.95 system.h WSTOPSIG
- From: "Philippe De Muyter" <phdm at macqel dot be>
- Date: Wed, 9 Jun 1999 19:56:38 +0200 (CEST)
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