summaryrefslogtreecommitdiffstats
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
commit7ee5de103efb06e500e00bd649b633cafcfeb54f (patch)
tree011da60fe28c0df58fbd8ab582aa22ce30141518 /io.c
parentd49f7b1a0fe0b54e3af6a8990f88eaec04e935ae (diff)
downloadruby-7ee5de103efb06e500e00bd649b633cafcfeb54f.tar.gz
ruby-7ee5de103efb06e500e00bd649b633cafcfeb54f.tar.xz
ruby-7ee5de103efb06e500e00bd649b633cafcfeb54f.zip
* io.c (shutdown): not define if defined already.
git-svn-id: http://svn.ruby-lang.org/repos/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 380755a59..77b85de9e 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