diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-22 10:24:37 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-22 10:24:37 +0000 |
| commit | 957db827ebf134e590e4cd9a60ec5fab41a29259 (patch) | |
| tree | 2e4a0778c8591be29cea5fe862db3c8caf7e331e /ext/socket | |
| parent | 17a6f1f68c3910624b9db7911d3a04f1ed014a9c (diff) | |
| download | ruby-957db827ebf134e590e4cd9a60ec5fab41a29259.tar.gz ruby-957db827ebf134e590e4cd9a60ec5fab41a29259.tar.xz ruby-957db827ebf134e590e4cd9a60ec5fab41a29259.zip | |
* ext/socket/extconf.rb: ipv6 support is disabled by default on mswin.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket')
| -rw-r--r-- | ext/socket/extconf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb index 548abd4f7..7908e62bc 100644 --- a/ext/socket/extconf.rb +++ b/ext/socket/extconf.rb @@ -33,7 +33,7 @@ if have_header("arpa/inet.h") end ipv6 = false -default_ipv6 = /cygwin|beos|haiku/ !~ RUBY_PLATFORM +default_ipv6 = /mswin|cygwin|beos|haiku/ !~ RUBY_PLATFORM if enable_config("ipv6", default_ipv6) if checking_for("ipv6") {try_link(<<EOF)} #include <sys/types.h> |
