diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-12 12:10:10 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-12 12:10:10 +0000 |
commit | 803b7ebd6fb1d277e920f77a4fbea122e6b991fa (patch) | |
tree | 3fee4f864e93b34e0952660a371a306e567e5a9b /ext | |
parent | 4fdfe1dd4c94dadd679df05b0e3479e5d5d886ef (diff) | |
download | ruby-803b7ebd6fb1d277e920f77a4fbea122e6b991fa.tar.gz ruby-803b7ebd6fb1d277e920f77a4fbea122e6b991fa.tar.xz ruby-803b7ebd6fb1d277e920f77a4fbea122e6b991fa.zip |
* ext/socket/extconf.rb: if ipv6 is enabled, the version of Windows
most be XP or later.
[ruby-core:24601]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 21f99b984..1d233fdd1 100644 --- a/ext/socket/extconf.rb +++ b/ext/socket/extconf.rb @@ -52,6 +52,9 @@ EOF end if ipv6 + if $mingw + $CPPFLAGS << " -D_WIN32_WINNT=0x501" + end ipv6lib = nil class << (fmt = "unknown") def %(s) s || self end |