mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:07:34 +00:00
Userland: Prefer using ARCH() over __LP64__
This commit is contained in:
parent
de4ba1f39b
commit
4cf24c6ba2
5 changed files with 13 additions and 18 deletions
|
@ -16,12 +16,6 @@
|
|||
|
||||
__BEGIN_DECLS
|
||||
|
||||
#ifdef __LP64__
|
||||
# define ElfW(type) Elf64_##type
|
||||
#else
|
||||
# define ElfW(type) Elf32_##type
|
||||
#endif
|
||||
|
||||
struct dl_phdr_info {
|
||||
ElfW(Addr) dlpi_addr;
|
||||
const char* dlpi_name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue