diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-23 00:14:00 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-23 00:14:00 +0000 |
commit | 30014a61567b1b672ae46ecf5ff27c059f6c4eea (patch) | |
tree | 7fc71a78a41aa7acea23c98ff621db0909a1bb91 /ruby.c | |
parent | 48f2a5fcc4ef40e29a7935c1f57c02aefe1995cb (diff) | |
download | ruby-30014a61567b1b672ae46ecf5ff27c059f6c4eea.tar.gz |
* ruby.c (PREFIX_PATH): use RUBY_RELATIVE macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -432,7 +432,7 @@ ruby_init_loadpath_safe(int safe_level) #else static const char exec_prefix[] = RUBY_EXEC_PREFIX; #define RUBY_RELATIVE(path, len) rubylib_mangled_path(path, len) -#define PREFIX_PATH() rubylib_mangled_path(exec_prefix, sizeof(exec_prefix)-1) +#define PREFIX_PATH() RUBY_RELATIVE(exec_prefix, sizeof(exec_prefix)-1) #endif load_path = GET_VM()->load_path; |