From 86d4511fe6944f5517ead2679a0a4900d2db8ee5 Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 3 May 2013 05:11:06 +0000 Subject: [PATCH] * 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 --- ChangeLog | 6 ++++++ ext/socket/extconf.rb | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f039de00d1..6c71fe9cf1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Fri May 3 14:09:45 2013 Tanaka Akira + + * 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 * 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"