diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-08 17:44:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-08 17:44:35 +0000 |
commit | 53fdb9e190110afeb318b6bb7b0a8f17a9873fe8 (patch) | |
tree | 3467c8dc40a493f104d2f8d267deb2821443108f /ext | |
parent | f12df1a7528a89ddc49a8791be2ae194fba842f3 (diff) | |
download | ruby-53fdb9e190110afeb318b6bb7b0a8f17a9873fe8.tar.gz |
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')
-rw-r--r-- | ext/socket/extconf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb index a168404ae3..e8b2d39ae2 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" |