summaryrefslogtreecommitdiff
path: root/vm_dump.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-08 12:23:10 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-08 12:23:10 +0000
commite33183acca3d11bbfae6f4551bca890cf7d4280a (patch)
treedb8366616c5e6f1ed8f20cdf2629a3bd059d9f1a /vm_dump.c
parent29e497d231b91237ca4a1b6d6eaaf7ace869508e (diff)
* addr2line.c: use USE_ELF instead of __ELF__ because Solaris
doesn't define it. USE_ELF is already provided by configure. patched by Naohisa Goto. [ruby-dev:44066] [Bug #4998] * addr2line.h: ditto. * vm_dump.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_dump.c')
-rw-r--r--vm_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_dump.c b/vm_dump.c
index 23143dc72e..8667a7a500 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -797,7 +797,7 @@ rb_vm_bugreport(void)
char **syms = backtrace_symbols(trace, n);
if (syms) {
-#ifdef __ELF__
+#ifdef USE_ELF
rb_dump_backtrace_with_lines(n, trace, syms);
#else
int i;