Fix 32-bit builds.

This commit is contained in:
Bartosz Taudul 2024-05-28 20:51:16 +02:00
parent aae58fbc3a
commit cbea6d7852
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -25,13 +25,11 @@ using elf_sword = int32_t;
#if __WORDSIZE == 32
using elf_addr = uint32_t;
using elf_off = uint32_t;
using elf_wxword = uint32_t;
using elf_xword = uint32_t;
#else
using elf_addr = uint64_t;
using elf_off = uint64_t;
using elf_xword = uint64_t;
using elf_sxword = int64_t;
using elf_wxword = uint64_t;
#endif
struct elf_ehdr