mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
Avoid name clashes with symbols that leak from system headers
Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
parent
f6548c0a4b
commit
3efa9a672e
4 changed files with 45 additions and 40 deletions
3
loader.c
3
loader.c
|
@ -272,6 +272,9 @@ static void *load_at(int fd, int offset, int size)
|
|||
return ptr;
|
||||
}
|
||||
|
||||
#ifdef ELF_CLASS
|
||||
#undef ELF_CLASS
|
||||
#endif
|
||||
|
||||
#define ELF_CLASS ELFCLASS32
|
||||
#include "elf.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue