elf.h: rename ELF_MAGIC to ELFMAG
- This is how it is named in other versions of elf.h (Linux, glibc, possibly more) - ELF_MAGIC is used by libelf for the same thing, and the defines conflicts, breaking libelf build on Haiku.
This commit is contained in:
@@ -75,7 +75,7 @@ typedef struct {
|
||||
#endif
|
||||
} Elf64_Ehdr;
|
||||
|
||||
#define ELF_MAGIC "\x7f""ELF"
|
||||
#define ELFMAG "\x7f""ELF"
|
||||
|
||||
/* e_ident[] indices */
|
||||
#define EI_MAG0 0
|
||||
|
||||
Reference in New Issue
Block a user