summaryrefslogtreecommitdiff
path: root/src/third_party/unwind/dist/src/coredump/_UCD_get_proc_name.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/unwind/dist/src/coredump/_UCD_get_proc_name.c')
-rw-r--r--src/third_party/unwind/dist/src/coredump/_UCD_get_proc_name.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/unwind/dist/src/coredump/_UCD_get_proc_name.c b/src/third_party/unwind/dist/src/coredump/_UCD_get_proc_name.c
index 3a4c9b8213c..cd5ee892232 100644
--- a/src/third_party/unwind/dist/src/coredump/_UCD_get_proc_name.c
+++ b/src/third_party/unwind/dist/src/coredump/_UCD_get_proc_name.c
@@ -64,9 +64,9 @@ _UCD_get_proc_name (unw_addr_space_t as, unw_word_t ip,
{
struct UCD_info *ui = arg;
-#if ELF_CLASS == ELFCLASS64
+#if UNW_ELF_CLASS == UNW_ELFCLASS64
return _Uelf64_CD_get_proc_name (ui, as, ip, buf, buf_len, offp);
-#elif ELF_CLASS == ELFCLASS32
+#elif UNW_ELF_CLASS == UNW_ELFCLASS32
return _Uelf32_CD_get_proc_name (ui, as, ip, buf, buf_len, offp);
#else
return -UNW_ENOINFO;