summaryrefslogtreecommitdiff
path: root/ext/win32/lib/win32/resolv.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-11-10 15:39:12 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-11-11 09:27:36 +0900
commit5081bd96753d637d213315ccd8e5efdbf2222a03 (patch)
tree2f558b94a9e97c9af3e8dce7d028caf99746c9ed /ext/win32/lib/win32/resolv.rb
parentff67aac193eed4e5ea0a6801d0903ddc35f21be0 (diff)
Removed win32/resolv.rb for 32bit env
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3712
Diffstat (limited to 'ext/win32/lib/win32/resolv.rb')
-rw-r--r--ext/win32/lib/win32/resolv.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/ext/win32/lib/win32/resolv.rb b/ext/win32/lib/win32/resolv.rb
index 1eb70d5dc6..d06658f0aa 100644
--- a/ext/win32/lib/win32/resolv.rb
+++ b/ext/win32/lib/win32/resolv.rb
@@ -42,19 +42,6 @@ begin
rescue LoadError
end
-if [nil].pack("p").size <= 4 # 32bit env
- begin
- f = Fiddle
- osid = f::Handle.new["rb_w32_osid"]
- rescue f::DLError # not ix86, cannot be Windows 9x
- else
- if f::Function.new(osid, [], f::TYPE_INT).call < 2 # VER_PLATFORM_WIN32_NT
- require_relative 'resolv9x'
- return
- end
- end
-end
-
module Win32
#====================================================================
# Windows NT