use a common definition of NULL as 0L for C and C++
[musl] / include / wchar.h
index 35706c7..9ceddd5 100644 (file)
@@ -26,12 +26,7 @@ extern "C" {
 
 #include <bits/wchar.h>
 
 
 #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)
 
 #undef WEOF
 #define WEOF (-1)