]> git.proxmox.com Git - qemu.git/commitdiff
Don't redefine NULL, please
authorJuan Quintela <quintela@redhat.com>
Fri, 28 Aug 2009 17:23:28 +0000 (19:23 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 26 Sep 2009 19:22:42 +0000 (21:22 +0200)
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>
dyngen-exec.h

index 18819e4707958997f3b2081ef3ce32fc859e2964..86e61c3df1c108139359a13b533daf449a9b0345 100644 (file)
@@ -47,8 +47,6 @@ typedef struct FILE FILE;
 extern int fprintf(FILE *, const char *, ...);
 extern int fputs(const char *, FILE *);
 extern int printf(const char *, ...);
-#undef NULL
-#define NULL 0
 
 #if defined(__i386__)
 #define AREG0 "ebp"