diff src/syswait.h @ 2286:04bc9d2f42c7

[xemacs-hg @ 2004-09-20 19:18:55 by james] Mark all unused parameters as unused. Also eliminate some unneeded local variables.
author james
date Mon, 20 Sep 2004 19:20:08 +0000
parents 8de8e3f6228a
children 308d34e9f07d
line wrap: on
line diff
--- a/src/syswait.h	Mon Sep 20 19:11:29 2004 +0000
+++ b/src/syswait.h	Mon Sep 20 19:20:08 2004 +0000
@@ -28,6 +28,19 @@
 #include <sys/wait.h>
 #endif
 
+#ifdef UNO
+/* On glibc-based systems, these macros expand to forms containing
+   __extension__, which Uno cannot understand. */
+#undef WEXITSTATUS
+#undef WIFEXITED
+#undef WIFSTOPPED
+#undef WIFSIGNALED
+#undef WCOREDUMP
+#undef WTERMSIG
+#undef WSTOPSIG
+#undef WRETCODE
+#endif
+
 #ifndef WEXITSTATUS
 #define WEXITSTATUS(s) ((s) >> 8)
 #endif