-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patching resolv.rb to load conditionally (#1883)
* Updating resolv.rb to load conditionally Signed-off-by: John McCrae <[email protected]> * Updating resolv.rb to load conditionally Signed-off-by: John McCrae <[email protected]> --------- Signed-off-by: John McCrae <[email protected]>
- Loading branch information
1 parent
8a87f3b
commit 763ae8b
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- ext/win32/lib/win32/resolv.rb.org 2024-03-25 19:48:15 | ||
+++ ext/win32/lib/win32/resolv.rb 2024-03-25 19:49:01 | ||
@@ -4,7 +4,7 @@ | ||
|
||
=end | ||
|
||
-require 'win32/registry' | ||
+require 'win32/registry' unless defined?(Win32::Registry) | ||
|
||
module Win32 | ||
module Resolv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters