From c99bac4835e3a4620d570d83b2aa182b0358e04c Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 22 Jul 2009 08:30:41 +0000 Subject: * ext/socket/extconf.rb: enable ipv6 support for win32. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/socket/extconf.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext') diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb index 79c9d30b3..548abd4f7 100644 --- a/ext/socket/extconf.rb +++ b/ext/socket/extconf.rb @@ -37,7 +37,9 @@ default_ipv6 = /cygwin|beos|haiku/ !~ RUBY_PLATFORM if enable_config("ipv6", default_ipv6) if checking_for("ipv6") {try_link(< +#ifndef _WIN32 #include +#endif int main() { -- cgit