summaryrefslogtreecommitdiff
path: root/ext/socket/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/extconf.rb')
-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"