mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:37:35 +00: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
Add a link
Reference in a new issue