зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
d0b7b41e59
Коммит
86d4511fe6
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче