projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1997-03-19 20:44:50 by simonpj]
[ghc-hetmet.git]
/
ghc
/
includes
/
stgdefs.h
diff --git
a/ghc/includes/stgdefs.h
b/ghc/includes/stgdefs.h
index
6885b9c
..
613c161
100644
(file)
--- a/
ghc/includes/stgdefs.h
+++ b/
ghc/includes/stgdefs.h
@@
-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 */