summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ext/socket/extconf.rb3
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index eb7b045..d8973de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Apr 27 17:22:50 2013 Tanaka Akira <akr@fsij.org>
+
+ * ext/socket/extconf.rb: Redundant test removed.
+
Sat Apr 27 16:00:10 2013 Tanaka Akira <akr@fsij.org>
* ext/socket/extconf.rb (test_recvmsg_with_msg_peek_creates_fds):
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"