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:
parent
486f3f4270
commit
73e29d2cf1
1 changed files with 4 additions and 3 deletions
|
@ -44,7 +44,10 @@ nt = Module.new do
|
||||||
getv.call(info)
|
getv.call(info)
|
||||||
break info.unpack('V5')[4] == 2 # VER_PLATFORM_WIN32_NT
|
break info.unpack('V5')[4] == 2 # VER_PLATFORM_WIN32_NT
|
||||||
end
|
end
|
||||||
if nt
|
if not nt
|
||||||
|
require_relative 'resolv9x'
|
||||||
|
# return # does not work yet
|
||||||
|
else
|
||||||
#====================================================================
|
#====================================================================
|
||||||
# Windows NT
|
# Windows NT
|
||||||
#====================================================================
|
#====================================================================
|
||||||
|
@ -124,7 +127,5 @@ if nt
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
|
||||||
require_relative 'resolv9x'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue