X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fstring.h;h=ff9badb9c307fc687c18d53c3ed64a64aacdcabd;hb=1d23b3c9136f606276142ec0037ff78fbb95e26d;hp=d44123332753313f4426c136b5330325552e06e1;hpb=41d7c77d6a2e74294807d35062e4cd1d48ab72d3;p=musl diff --git a/include/string.h b/include/string.h index d4412333..ff9badb9 100644 --- a/include/string.h +++ b/include/string.h @@ -7,7 +7,11 @@ extern "C" { #include +#ifdef __cplusplus #define NULL 0L +#else +#define NULL ((void*)0) +#endif #define __NEED_size_t #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \