LibC: Only select Elf32_* in ElfW() macro defintion on 32-bit platforms

This commit is contained in:
Andrew Kaster 2022-07-20 00:06:47 -06:00 committed by Andreas Kling
parent d270c57022
commit f4e30d6b17

View file

@ -39,10 +39,10 @@
# include <AK/Types.h>
#endif
#ifdef __x86_64__
# define ElfW(type) Elf64_##type
#else
#ifdef __i386__
# define ElfW(type) Elf32_##type
#else
# define ElfW(type) Elf64_##type
#endif
typedef uint8_t Elf_Byte;