Patchwork Don't redefine NULL, please

login
register
mail settings
Submitter Juan Quintela
Date Aug. 28, 2009, 5:23 p.m.
Message ID <1251480208-21243-1-git-send-email-quintela@redhat.com>
Download mbox | patch
Permalink /patch/32384/
State Superseded
Headers show

Comments

Juan Quintela - Aug. 28, 2009, 5:23 p.m.
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"