summaryrefslogtreecommitdiff
path: root/addr2line.c
diff options
context:
space:
mode:
Diffstat (limited to 'addr2line.c')
-rw-r--r--addr2line.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/addr2line.c b/addr2line.c
index 71ebf03..219d1d4 100644
--- a/addr2line.c
+++ b/addr2line.c
@@ -14,7 +14,7 @@
#include <stdio.h>
#include <errno.h>
-#ifdef __ELF__
+#ifdef USE_ELF
#ifdef __OpenBSD__
#include <elf_abi.h>
@@ -605,6 +605,6 @@ rb_dump_backtrace_with_lines(int num_traces, void **trace, char **syms)
free(lines);
}
-#else /* defined(__ELF__) */
+#else /* defined(USE_ELF) */
#error not supported
#endif