1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

win32/resolv.rb: invert the condition

* ext/win32/lib/win32/resolv.rb: invert the condition to return
  immediately in the future.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-02-15 04:23:15 +00:00
parent 486f3f4270
commit 73e29d2cf1

View file

@ -44,7 +44,10 @@ nt = Module.new do
getv.call(info)
break info.unpack('V5')[4] == 2 # VER_PLATFORM_WIN32_NT
end
if nt
if not nt
require_relative 'resolv9x'
# return # does not work yet
else
#====================================================================
# Windows NT
#====================================================================
@ -124,7 +127,5 @@ if nt
end
end
end
else
require_relative 'resolv9x'
end
end