aboutsummaryrefslogtreecommitdiffstats
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/mkexports.rb4
-rw-r--r--win32/resource.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/win32/mkexports.rb b/win32/mkexports.rb
index 3cf8bc329e..69131da3df 100644
--- a/win32/mkexports.rb
+++ b/win32/mkexports.rb
@@ -1,6 +1,6 @@
#!./miniruby -s
-module Config
+module RbConfig
autoload :CONFIG, "rbconfig"
end
@@ -112,7 +112,7 @@ end
class Exports::Mingw < Exports
def self.nm
- @@nm ||= Config::CONFIG["NM"]
+ @@nm ||= RbConfig::CONFIG["NM"]
end
def each_export(objs)
diff --git a/win32/resource.rb b/win32/resource.rb
index b5a3a8b33a..a6c859c287 100644
--- a/win32/resource.rb
+++ b/win32/resource.rb
@@ -2,7 +2,7 @@
require 'rbconfig'
-CONFIG = Config::MAKEFILE_CONFIG
+CONFIG = RbConfig::MAKEFILE_CONFIG
fversion = "#{CONFIG['MAJOR']},#{CONFIG['MINOR']},#{CONFIG['TEENY']},0"