summaryrefslogtreecommitdiff
path: root/ext/socket
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-27 08:23:21 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-27 08:23:21 +0000
commitef215077bc5d682a86a91d2a7c80e153896b87a7 (patch)
treeda44c16b1d4ebe7887a1e5354b5816a67944ee3c /ext/socket
parentfbbd7e29e7b7cb6a38cc3fa05a11c869f9fe028c (diff)
* ext/socket/extconf.rb: Redundant test removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket')
-rw-r--r--ext/socket/extconf.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
index 0bd1371..f74d6010 100644
--- a/ext/socket/extconf.rb
+++ b/ext/socket/extconf.rb
@@ -553,8 +553,7 @@ EOS
"raddrinfo.#{$OBJEXT}"
]
- if getaddr_info_ok == :wide or
- !have_func("getnameinfo", headers) or !have_func("getaddrinfo", headers)
+ if getaddr_info_ok == :wide
if !have_type("struct in6_addr", headers) and have_type("struct in_addr6", headers)
$defs.pop(2)
$defs << "-Din_addr6=in6_addr"