Matt Watson <mwatson@apple.com> pointed out that it is not safe to
redefine FD_SETSIZE on Rhapsody.
--- 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>