Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/resolv.rb
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class ResolvTimeout < Timeout::Error; end
# Resolv::Hosts is a hostname resolver that uses the system hosts file.

class Hosts
if /mswin|cygwin|mingw|bccwin/ =~ RUBY_PLATFORM || ::RbConfig::CONFIG['host_os'] =~ /mswin/
if /mswin|cygwin|mingw/ =~ RUBY_PLATFORM || ::RbConfig::CONFIG['host_os'] =~ /mswin/
begin
require 'win32/resolv' unless defined?(Win32::Resolv)
hosts = Win32::Resolv.get_hosts_path || IO::NULL
Expand Down
Loading