summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-08 14:27:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-08 14:27:25 +0000
commit90ca8317d37d3f649e9ec52ce01b1003194c70ac (patch)
tree011da60fe28c0df58fbd8ab582aa22ce30141518 /io.c
parent6a852b7c2b46faa1876763e46e1847cbab77b071 (diff)
* io.c (shutdown): not define if defined already.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 380755a599..77b85de9e3 100644
--- a/io.c
+++ b/io.c
@@ -199,7 +199,7 @@ static int max_file_descriptor = NOFILE;
# endif
#endif
-#ifndef HAVE_SHUTDOWN
+#if !defined HAVE_SHUTDOWN && !defined shutdown
#define shutdown(a,b) 0
#endif