mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/socket/extconf.rb: ipv6 support is disabled by default on mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ce1ef5b604
commit
52d3e529ab
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Jul 22 19:23:04 2009 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* ext/socket/extconf.rb: ipv6 support is disabled by default on mswin.
|
||||
|
||||
Wed Jul 22 17:41:08 2009 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* ext/socket/ipsocket.c (init_inetsock_internal): drop IPv6 addresses
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue