* [Qemu-devel] [PATCH] Don't redefine NULL, please
@ 2009-08-28 17:23 Juan Quintela
0 siblings, 0 replies; 2+ messages in thread
From: Juan Quintela @ 2009-08-28 17:23 UTC (permalink / raw)
To: qemu-devel
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>
---
dyngen-exec.h | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
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"
--
1.6.2.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Qemu-devel] [PATCH] Don't redefine NULL, please
@ 2009-09-16 20:07 Juan Quintela
0 siblings, 0 replies; 2+ messages in thread
From: Juan Quintela @ 2009-09-16 20:07 UTC (permalink / raw)
To: qemu-devel
[Resend, as 1st time got lost]
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>
---
dyngen-exec.h | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
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"
--
1.6.2.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-16 20:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-28 17:23 [Qemu-devel] [PATCH] Don't redefine NULL, please Juan Quintela
2009-09-16 20:07 Juan Quintela
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.