diff src/sysproc.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 804517e16990
children 3d8143fc88e1
line wrap: on
line diff
--- a/src/sysproc.h	Mon Sep 20 19:11:29 2004 +0000
+++ b/src/sysproc.h	Mon Sep 20 19:20:08 2004 +0000
@@ -152,6 +152,17 @@
 #include <util.h>		/* openpty() on NetBSD */
 #endif
 
+/* The FD_* macros expand to __extension__ forms on glibc-based systems.  Uno
+   does not understand such forms, so let's help it out. */
+#ifdef UNO
+#undef FD_SET
+#undef FD_CLR
+#undef FD_ISSET
+#undef FD_ZERO
+#undef MAXDESC
+#undef SELECT_TYPE
+#endif /* UNO */
+
 #ifdef FD_SET
 
 /* We could get this from param.h, but better not to depend on finding that.