From 1ae7073586dd7f2553885965994f6b76e8f42cd8 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 6 Nov 2025 11:27:21 -0800 Subject: [PATCH] libbacktrace: use correct names in #undef of ELF macros Patch from Joseph Koshy. * elf.c (ELFMAGn): In #undef rename from ELF_MAGn. --- libbacktrace/elf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libbacktrace/elf.c b/libbacktrace/elf.c index 868d0e1a7f3..0f14066bf17 100644 --- a/libbacktrace/elf.c +++ b/libbacktrace/elf.c @@ -160,10 +160,10 @@ dl_iterate_phdr (int (*callback) (struct dl_phdr_info *, #undef EI_CLASS #undef EI_DATA #undef EI_VERSION -#undef ELF_MAG0 -#undef ELF_MAG1 -#undef ELF_MAG2 -#undef ELF_MAG3 +#undef ELFMAG0 +#undef ELFMAG1 +#undef ELFMAG2 +#undef ELFMAG3 #undef ELFCLASS32 #undef ELFCLASS64 #undef ELFDATA2LSB -- 2.47.3