mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ruby.c: only for load-relative
* ruby.c (dladdr_path): used only when load-relative is enabled. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c3ad34c7fa
commit
69f47dd0e8
1 changed files with 1 additions and 1 deletions
2
ruby.c
2
ruby.c
|
@ -364,7 +364,7 @@ ruby_init_loadpath(void)
|
|||
ruby_init_loadpath_safe(0);
|
||||
}
|
||||
|
||||
#if defined(HAVE_DLADDR)
|
||||
#if defined(LOAD_RELATIVE) && defined(HAVE_DLADDR)
|
||||
static VALUE
|
||||
dladdr_path(const void* addr)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue