Patchwork Don't redefine NULL, please

login
register
mail settings
Submitter Juan Quintela
Date Sept. 16, 2009, 8:07 p.m.
Message ID <1253131675-24154-1-git-send-email-quintela@redhat.com>
Download mbox | patch
Permalink /patch/33728/
State Superseded
Headers show

Comments

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

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"