summaryrefslogtreecommitdiff
path: root/ext/socket/extconf.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-03 05:11:06 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-03 05:11:06 +0000
commit86d4511fe6944f5517ead2679a0a4900d2db8ee5 (patch)
tree8e788946898157c2e861f541396552a3177b7d9d /ext/socket/extconf.rb
parentd0b7b41e59690a27d8268a64acf7975ca973e094 (diff)
* ext/socket/extconf.rb: Make default_ipv6 true for Cygwin.
Cygwin supports IPv6 since Cygwin 1.7.1 (2009-12). http://cygwin.com/ml/cygwin-announce/2009-12/msg00027.html git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/extconf.rb')
-rw-r--r--ext/socket/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
index f74d601..66fb06d 100644
--- a/ext/socket/extconf.rb
+++ b/ext/socket/extconf.rb
@@ -427,7 +427,7 @@ EOF
end
ipv6 = false
- default_ipv6 = /cygwin|beos|haiku/ !~ RUBY_PLATFORM
+ default_ipv6 = /beos|haiku/ !~ RUBY_PLATFORM
if enable_config("ipv6", default_ipv6)
if checking_for("ipv6") {try_link(AF_INET6_SOCKET_CREATION_TEST)}
$defs << "-DENABLE_IPV6" << "-DINET6"