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