diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-03 05:11:06 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-03 05:11:06 +0000 |
commit | 86d4511fe6944f5517ead2679a0a4900d2db8ee5 (patch) | |
tree | 8e788946898157c2e861f541396552a3177b7d9d | |
parent | d0b7b41e59690a27d8268a64acf7975ca973e094 (diff) | |
download | ruby-86d4511fe6944f5517ead2679a0a4900d2db8ee5.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ext/socket/extconf.rb | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Fri May 3 14:09:45 2013 Tanaka Akira <akr@fsij.org> + + * 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 + Fri May 3 13:35:26 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> * ext/socket/{getaddrinfo,getnameinfo}.c: define socklen_t if not diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb index f74d601063..66fb06d7c6 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" |