summaryrefslogtreecommitdiff
path: root/ext/win32/lib/win32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-22 07:56:38 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-22 07:56:38 +0000
commit265de6677c067612615c1f1438f349fb05a5557c (patch)
treec77058faecc2ad12f89af359e7f1ea5e4a538ea9 /ext/win32/lib/win32
parent03813f6dac06ffc24ca04cc308e28d926aed14b4 (diff)
fix commit miss
* ext/win32/lib/win32/importer.rb: miss to add at r41936. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/win32/lib/win32')
-rw-r--r--ext/win32/lib/win32/importer.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/win32/lib/win32/importer.rb b/ext/win32/lib/win32/importer.rb
new file mode 100644
index 0000000..5936bb6
--- /dev/null
+++ b/ext/win32/lib/win32/importer.rb
@@ -0,0 +1,14 @@
+begin
+ require 'fiddle/import'
+ importer = Fiddle::Importer
+rescue LoadError
+ require 'dl/import'
+ importer = DL::Importer
+end
+
+module Win32
+end
+
+Win32.module_eval do
+ Importer = importer
+end