summaryrefslogtreecommitdiff
path: root/ext/socket/extconf.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-08 17:44:35 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-08 17:44:35 +0000
commit53fdb9e190110afeb318b6bb7b0a8f17a9873fe8 (patch)
tree3467c8dc40a493f104d2f8d267deb2821443108f /ext/socket/extconf.rb
parentf12df1a7528a89ddc49a8791be2ae194fba842f3 (diff)
socket/extconf.rb: add -D
* ext/socket/extconf.rb: $defs needs -D or -U. nothing is added otherwize. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/extconf.rb')
-rw-r--r--ext/socket/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
index a168404..e8b2d39 100644
--- a/ext/socket/extconf.rb
+++ b/ext/socket/extconf.rb
@@ -482,7 +482,7 @@ EOS
$defs << "-Din_addr6=in6_addr"
end
if have_struct_member("struct in6_addr", "s6_addr8", headers)
- $defs[-1] = "s6_addr=s6_addr8"
+ $defs[-1] = "-Ds6_addr=s6_addr8"
end
if ipv6 == "kame" && have_struct_member("struct in6_addr", "s6_addr32", headers)
$defs[-1] = "-DFAITH"