Fixed compilation of C code using ELF headers.
This commit is contained in:
@@ -272,7 +272,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#define DEFINE_ELF_TYPE(type, name) \
|
#define DEFINE_ELF_TYPE(type, name) \
|
||||||
struct _ELF_TYPE(type); \
|
struct _ELF_TYPE(type); \
|
||||||
typedef _ELF_TYPE(type) name
|
typedef struct _ELF_TYPE(type) name
|
||||||
|
|
||||||
DEFINE_ELF_TYPE(Ehdr, elf_ehdr);
|
DEFINE_ELF_TYPE(Ehdr, elf_ehdr);
|
||||||
DEFINE_ELF_TYPE(Phdr, elf_phdr);
|
DEFINE_ELF_TYPE(Phdr, elf_phdr);
|
||||||
|
|||||||
Reference in New Issue
Block a user