diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/socket/extconf.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb index 7908e62bc..21f99b984 100644 --- a/ext/socket/extconf.rb +++ b/ext/socket/extconf.rb @@ -324,6 +324,9 @@ have_func("getpeereid") have_header("ucred.h", headers) have_func("getpeerucred") +# workaround for recent Windows SDK +$defs << "-DIPPROTO_IPV6=IPPROTO_IPV6" if have_const("IPPROTO_IPV6") && !have_macro("IPPROTO_IPV6") + $distcleanfiles << "constants.h" << "constdefs.*" if have_func(test_func) |