Skip to contentSkip to conversation

Don't redefine NULL, please

PATCH New Juan Quintela 1 participant 1 message Sep 16, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Don't redefine NULL, please

[Resend, as 1st time got lost]

Compiled (on linux) all the targets, and it compiled as expected. What platform needs this redefinition?

Later, Juan.

---
 dyngen-exec.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
dyngen-exec.h +0 -2
index 18819e4..86e61c3 100644
@@ -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"
Signature · 1 line
1.6.2.5