summaryrefslogtreecommitdiff
path: root/src/third_party/unwind/dist/src/ptrace/_UPT_get_proc_name.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/unwind/dist/src/ptrace/_UPT_get_proc_name.c')
-rw-r--r--src/third_party/unwind/dist/src/ptrace/_UPT_get_proc_name.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/unwind/dist/src/ptrace/_UPT_get_proc_name.c b/src/third_party/unwind/dist/src/ptrace/_UPT_get_proc_name.c
index 79c1f38e256..4fc93e74771 100644
--- a/src/third_party/unwind/dist/src/ptrace/_UPT_get_proc_name.c
+++ b/src/third_party/unwind/dist/src/ptrace/_UPT_get_proc_name.c
@@ -32,9 +32,9 @@ _UPT_get_proc_name (unw_addr_space_t as, unw_word_t ip,
{
struct UPT_info *ui = arg;
-#if ELF_CLASS == ELFCLASS64
+#if UNW_ELF_CLASS == UNW_ELFCLASS64
return _Uelf64_get_proc_name (as, ui->pid, ip, buf, buf_len, offp);
-#elif ELF_CLASS == ELFCLASS32
+#elif UNW_ELF_CLASS == UNW_ELFCLASS32
return _Uelf32_get_proc_name (as, ui->pid, ip, buf, buf_len, offp);
#else
return -UNW_ENOINFO;