aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-11 11:08:17 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-11 11:08:17 +0000
commitf69091fabc37019f495bda40707a7aa7c3c7cf6d (patch)
tree71eff46920bc71dfa8037aa7cb08cbd338d457e2 /eval.c
parent52486197bc9e9df20752ea5630a72254b8ad8c94 (diff)
downloadruby-f69091fabc37019f495bda40707a7aa7c3c7cf6d.tar.gz
* eval.c, intern.h: failed to compile where NFDBITS is defined but
howmany() is not defined. [ruby-dev:27680] * io.c (is_socket): failed to compile where S_ISSOCK is not defined. * io.c (pipe_open): failed to compile where socketpair is not supported. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index b98746e517..fd7a209aff 100644
--- a/eval.c
+++ b/eval.c
@@ -9546,7 +9546,7 @@ enum thread_status {
# endif
#endif
-#ifdef NFDBITS
+#if defined(NFDBITS) && defined(howmany)
void
rb_fd_init(fds)
volatile rb_fdset_t *fds;