[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT 6c58e80] Don't redefine NULL, please

From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 6c58e80] Don't redefine NULL, please
Date: Sat, 26 Sep 2009 19:31:55 -0000

From: Juan Quintela <address@hidden>

Compiled (on linux) all the targets, and it compiled as expected.
What platform needs this redefinition?

Later, Juan.

Signed-off-by: Juan Quintela <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>

diff --git a/dyngen-exec.h b/dyngen-exec.h
index 18819e4..86e61c3 100644
--- a/dyngen-exec.h
+++ b/dyngen-exec.h
@@ -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"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]