mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 02:13:56 +09:00
LibC: Only select Elf32_* in ElfW() macro defintion on 32-bit platforms
This commit is contained in:
parent
d270c57022
commit
f4e30d6b17
Notes:
sideshowbarker
2024-07-17 17:06:59 +09:00
Author: https://github.com/ADKaster
Commit: f4e30d6b17
Pull-request: https://github.com/SerenityOS/serenity/pull/14626
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