summaryrefslogtreecommitdiff
path: root/addr2line.h
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-08 12:23:10 (GMT)
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-08 12:23:10 (GMT)
commite33183acca3d11bbfae6f4551bca890cf7d4280a (patch)
treedb8366616c5e6f1ed8f20cdf2629a3bd059d9f1a /addr2line.h
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 'addr2line.h')
-rw-r--r--addr2line.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/addr2line.h b/addr2line.h
index cbb18e5..3782d89 100644
--- a/addr2line.h
+++ b/addr2line.h
@@ -11,11 +11,11 @@
#ifndef RUBY_ADDR2LINE_H
#define RUBY_ADDR2LINE_H
-#ifdef __ELF__
+#ifdef USE_ELF
void
rb_dump_backtrace_with_lines(int num_traces, void **traces, char **syms);
-#endif /* __ELF__ */
+#endif /* USE_ELF */
#endif /* RUBY_ADDR2LINE_H */