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 --- ChangeLog | 4 ++++ ext/socket/extconf.rb | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index b84c123f7..4ab3ba933 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Jul 22 17:29:59 2009 NAKAMURA Usaku + + * ext/socket/extconf.rb: enable ipv6 support for win32. + Wed Jul 22 16:38:39 2009 Yuki Sonoda (Yugui) * hash.c (Hash::[]): rdoc. patch by Marc-Andre Lafortune. 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