diff --git a/lib/elf/eint.h b/lib/elf/eint.h index 9c952d2..52e4be3 100644 --- a/lib/elf/eint.h +++ b/lib/elf/eint.h @@ -4,14 +4,14 @@ * REF: https://gabi.xinuos.com/elf/01-intro.html */ -#ifndef BFPG_ELF_INTEGERS_H -# define BFPG_ELF_INTEGERS_H +#ifndef BFPG_ELF_INT_H +# define BFPG_ELF_INT_H # include /* 32-Bit & 64-Bit Shared Integer Types */ -# define Elf_Addr(BITS) uint##BITS##_t -# define Elf_Off(BITS) uint##BITS##_t +# define Elf_Addr(N) uint##N##_t +# define Elf_Off(N) uint##N##_t typedef uint16_t Elf_Half; /* Unsigned medium integer */ typedef uint32_t Elf_Word; /* Unsigned integer */ typedef int32_t Elf_Sword; /* Signed integer */ @@ -36,4 +36,4 @@ typedef Elf_Sxword Elf64_Sxword; # undef Elf_Addr # undef Elf_Off -#endif /* BFPG_ELF_INTEGERS_H */ +#endif /* BFPG_ELF_INT_H */