Don't redefine NULL, please

Submitted by Juan Quintela on Sept. 16, 2009, 8:07 p.m.

Details

Message ID 1253131675-24154-1-git-send-email-quintela@redhat.com
State Superseded
Headers show

Commit Message

Juan Quintela Sept. 16, 2009, 8:07 p.m.
[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(-)

Patch hide | download patch | download mbox

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"