projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix strptime output for %C without %y
[musl]
/
include
/
string.h
diff --git
a/include/string.h
b/include/string.h
index
d441233
..
ff9badb
100644
(file)
--- a/
include/string.h
+++ b/
include/string.h
@@
-7,7
+7,11
@@
extern "C" {
#include <features.h>
#include <features.h>
+#ifdef __cplusplus
#define NULL 0L
#define NULL 0L
+#else
+#define NULL ((void*)0)
+#endif
#define __NEED_size_t
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
#define __NEED_size_t
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \