Skip to content

Commit

Permalink
ruby.c: only for load-relative
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nobu committed Jan 24, 2015
1 parent c3ad34c commit 69f47dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ruby.c
Expand Up @@ -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)
{
Expand Down

0 comments on commit 69f47dd

Please sign in to comment.