summaryrefslogtreecommitdiff
path: root/include/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/string.h')
-rw-r--r--include/string.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/string.h b/include/string.h
index c2f8eb55..d4412333 100644
--- a/include/string.h
+++ b/include/string.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 __NEED_size_t
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \