mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 18:13:58 +02:00
* ext/dl/extconf.rb, ext/iconv/charset_alias.rb: use RbConfig.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bb88a5a201
commit
52659f509b
5 changed files with 11 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
require 'rbconfig'
|
||||
|
||||
CONFIG = Config::MAKEFILE_CONFIG
|
||||
CONFIG = RbConfig::MAKEFILE_CONFIG
|
||||
|
||||
version = %w'MAJOR MINOR TEENY'.map{|v| CONFIG[v] || '0'}
|
||||
patch = CONFIG['PATCHLEVEL']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue