mirror of https://gitee.com/openkylin/qemu.git
Don't redefine NULL, please
Compiled (on linux) all the targets, and it compiled as expected. What platform needs this redefinition? Later, Juan. Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
3df04ac3c6
commit
6c58e80f3e
|
@ -47,8 +47,6 @@ typedef struct FILE FILE;
|
||||||
extern int fprintf(FILE *, const char *, ...);
|
extern int fprintf(FILE *, const char *, ...);
|
||||||
extern int fputs(const char *, FILE *);
|
extern int fputs(const char *, FILE *);
|
||||||
extern int printf(const char *, ...);
|
extern int printf(const char *, ...);
|
||||||
#undef NULL
|
|
||||||
#define NULL 0
|
|
||||||
|
|
||||||
#if defined(__i386__)
|
#if defined(__i386__)
|
||||||
#define AREG0 "ebp"
|
#define AREG0 "ebp"
|
||||||
|
|
Loading…
Reference in New Issue