musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/string.h')
-rw-r--r--include/string.h 7
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) \
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月07日 05:33:33 +0000

AltStyle によって変換されたページ (->オリジナル) /