[project @ 1997-03-19 20:44:50 by simonpj]
[ghc-hetmet.git] / ghc / includes / stgdefs.h
index 6885b9c..613c161 100644 (file)
@@ -247,8 +247,11 @@ char   *stgMallocWords PROTO((I_, char *));
 #include <sys/types.h>
 #endif  /* HAVE_SYS_TYPES_H */
 
-#ifndef FD_SETSIZE
-#define FD_SETSIZE 1024
+/* A real hack this */
+#ifndef linux_TARGET_OS
+# ifndef FD_SETSIZE
+#  define FD_SETSIZE 1024
+# endif
 #endif
 
 #endif /* ! STGDEFS_H */