summaryrefslogtreecommitdiff
path: root/ext/win32/lib/win32/importer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/win32/lib/win32/importer.rb')
-rw-r--r--ext/win32/lib/win32/importer.rb10
1 files changed, 2 insertions, 8 deletions
diff --git a/ext/win32/lib/win32/importer.rb b/ext/win32/lib/win32/importer.rb
index 5936bb6..7975cb7 100644
--- a/ext/win32/lib/win32/importer.rb
+++ b/ext/win32/lib/win32/importer.rb
@@ -1,14 +1,8 @@
-begin
- require 'fiddle/import'
- importer = Fiddle::Importer
-rescue LoadError
- require 'dl/import'
- importer = DL::Importer
-end
+require 'fiddle/import'
module Win32
end
Win32.module_eval do
- Importer = importer
+ Importer = Fiddle::Importer
end