mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 18:32:28 -05:00
LibC: Only select Elf32_* in ElfW() macro defintion on 32-bit platforms
This commit is contained in:
parent
d270c57022
commit
f4e30d6b17
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue