libbacktrace: use correct names in #undef of ELF macros

Patch from Joseph Koshy.

	* elf.c (ELFMAGn): In #undef rename from ELF_MAGn.
This commit is contained in:
Ian Lance Taylor
2025-11-06 11:27:21 -08:00
parent 2f67a3abfd
commit b9e40069c0

8
elf.c
View File

@@ -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