summaryrefslogtreecommitdiff
path: root/include/stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stdio.h')
-rw-r--r--include/stdio.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 645e6221..f6488017 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -20,12 +20,7 @@ extern "C" {
#include <bits/alltypes.h>
-#undef NULL
-#ifdef __cplusplus
-#define NULL 0
-#else
-#define NULL ((void*)0)
-#endif
+#define NULL 0L
#undef EOF
#define EOF (-1)