mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 10:36:24 +00:00
LibELF: Define ELFSIZE
macro
This makes the rest of the `ELFABI.h` header define the bit-width-independent `Elf_type` macros.
This commit is contained in:
parent
961b067df8
commit
2151e6c8b4
|
@ -41,6 +41,8 @@
|
|||
|
||||
#define ElfW(type) Elf64_##type
|
||||
|
||||
#define ELFSIZE 64
|
||||
|
||||
typedef uint8_t Elf_Byte;
|
||||
|
||||
typedef uint32_t Elf32_Addr; /* Unsigned program address */
|
||||
|
|
Loading…
Reference in a new issue