summaryrefslogtreecommitdiff
path: root/intern.h
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 /intern.h
parent52486197bc9e9df20752ea5630a72254b8ad8c94 (diff)
* 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 'intern.h')
-rw-r--r--intern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern.h b/intern.h
index 7c33d7c225..31602598f6 100644
--- a/intern.h
+++ b/intern.h
@@ -161,7 +161,7 @@ NORETURN(void rb_load_fail(const char*));
NORETURN(void rb_error_frozen(const char*));
void rb_check_frozen(VALUE);
/* eval.c */
-#ifdef NFDBITS
+#if defined(NFDBITS) && defined(howmany)
typedef struct {
int maxfd;
fd_set *fdset;