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-20 22:25:32 by sof]
[ghc-hetmet.git]
/
ghc
/
includes
/
stgdefs.h
diff --git
a/ghc/includes/stgdefs.h
b/ghc/includes/stgdefs.h
index
613c161
..
964cfce
100644
(file)
--- a/
ghc/includes/stgdefs.h
+++ b/
ghc/includes/stgdefs.h
@@
-247,9
+247,10
@@
char *stgMallocWords PROTO((I_, char *));
#include <sys/types.h>
#endif /* HAVE_SYS_TYPES_H */
#include <sys/types.h>
#endif /* HAVE_SYS_TYPES_H */
-/* A real hack this */
-#ifndef linux_TARGET_OS
-# ifndef FD_SETSIZE
+#ifndef FD_SETSIZE
+# ifdef __FD_SETSIZE
+# define FD_SETSIZE __FD_SETSIZE
+# else /* cop out */
# define FD_SETSIZE 1024
# endif
#endif
# define FD_SETSIZE 1024
# endif
#endif