Matt Watson <mwatson@apple.com> pointed out that it is not safe to
authorwtc
Fri, 08 May 1998 18:41:51 +0000
changeset 108 a1b56fb109a5ebc7b5356781c30a1c91c737e500
parent 107 34ab4d33f743a02e0f425da0374c41f7c8ff12f4
child 109 ff41e807a396fbba1e77e19c386c78efd6d8394d
push idunknown
push userunknown
push dateunknown
Matt Watson <mwatson@apple.com> pointed out that it is not safe to redefine FD_SETSIZE on Rhapsody.
pr/include/md/_unixos.h
--- a/pr/include/md/_unixos.h
+++ b/pr/include/md/_unixos.h
@@ -22,17 +22,17 @@
 /*
  * If FD_SETSIZE is not defined on the command line, set the default value
  * before include select.h
  */
 /*
  * Linux: FD_SETSIZE is defined in /usr/include/sys/select.h and should
  * not be redefined.
  */
-#if !defined(LINUX)
+#if !defined(LINUX) && !defined(RHAPSODY)
 #ifndef FD_SETSIZE
 #define FD_SETSIZE  4096
 #endif
 #endif
 
 #include <unistd.h>
 #include <stddef.h>
 #include <sys/stat.h>