diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-08 12:23:10 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-08 12:23:10 +0000 |
commit | e33183acca3d11bbfae6f4551bca890cf7d4280a (patch) | |
tree | db8366616c5e6f1ed8f20cdf2629a3bd059d9f1a /vm_dump.c | |
parent | 29e497d231b91237ca4a1b6d6eaaf7ace869508e (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |