Don't redefine NULL, please

Submitted by Juan Quintela on Aug. 28, 2009, 5:23 p.m.

Details

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

Commit Message

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 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"