summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-16 07:23:04 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-16 07:23:04 +0000
commit4f60a534cd006a72f4b4b0cdf7b1f4cc205a81bd (patch)
tree22f79310889b135f246000e80aefb57bb2b0680c /io.c
parentc27d662f503d101b26a3897436bb58e8a0253660 (diff)
* io.c (NOFILE): define NOFILE as 64 if not defined.
* signal.c (sighandler_t): rename to sh_t on dietlibc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/io.c b/io.c
index 62b2c36..8edc565 100644
--- a/io.c
+++ b/io.c
@@ -76,7 +76,9 @@ struct timeval {
/* EMX has sys/param.h, but.. */
#if defined(HAVE_SYS_PARAM_H) && !(defined(__EMX__) || defined(__HIUX_MPP__))
# include <sys/param.h>
-#else
+#endif
+
+#if !defined NOFILE
# define NOFILE 64
#endif