From 90ca8317d37d3f649e9ec52ce01b1003194c70ac Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 8 Aug 2008 14:27:25 +0000 Subject: * 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 --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io.c') 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 -- cgit v1.2.3