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