X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fstdio.h;h=d1ed01f03f8f22b888ca751ddb092339ca6e2507;hb=98e688a9da5e7b2925dda17a2d6820dddf1fb287;hp=3604198c3e503aba5335919cc3f429b7a8350beb;hpb=f368d9fd26ae002fe2fce20add4cb2b806f48972;p=musl diff --git a/include/stdio.h b/include/stdio.h index 3604198c..d1ed01f0 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -25,7 +25,9 @@ extern "C" { #include -#ifdef __cplusplus +#if __cplusplus >= 201103L +#define NULL nullptr +#elif defined(__cplusplus) #define NULL 0L #else #define NULL ((void*)0)