ruby-changes:37314
From: nobu <ko1@a...>
Date: Sat, 24 Jan 2015 22:07:12 +0900 (JST)
Subject: [ruby-changes:37314] nobu:r49395 (trunk): ruby.c: only for load-relative
nobu 2015-01-24 22:06:58 +0900 (Sat, 24 Jan 2015) New Revision: 49395 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49395 Log: ruby.c: only for load-relative * ruby.c (dladdr_path): used only when load-relative is enabled. Modified files: trunk/ruby.c Index: ruby.c =================================================================== --- ruby.c (revision 49394) +++ ruby.c (revision 49395) @@ -364,7 +364,7 @@ ruby_init_loadpath(void) https://github.com/ruby/ruby/blob/trunk/ruby.c#L364 ruby_init_loadpath_safe(0); } -#if defined(HAVE_DLADDR) +#if defined(LOAD_RELATIVE) && defined(HAVE_DLADDR) static VALUE dladdr_path(const void* addr) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/