summaryrefslogtreecommitdiff
path: root/addr2line.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-27 06:43:30 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-27 06:43:30 (GMT)
commit3c36edc0d2b5da5444b8ebbcc605367de9745fe5 (patch)
tree4b0526fb76395ccfbca59312ec2d5f7a5820482c /addr2line.c
parent238198406963869a5d3e75030f7f7e63aee1f1b7 (diff)
* configure.in: link addr2line only for ELF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'addr2line.c')
-rw-r--r--addr2line.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/addr2line.c b/addr2line.c
index 878ea9d..443333f 100644
--- a/addr2line.c
+++ b/addr2line.c
@@ -543,4 +543,6 @@ rb_dump_backtrace_with_lines(int num_traces, void **trace, char **syms)
free(lines);
}
-#endif /* defined(__ELF__) */
+#else /* defined(__ELF__) */
+#error not supported
+#endif