X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fstdio.h;h=884d2e6a72768b5ea0d78fb1aef88abd969ba92b;hb=0f2315b4af1c58cbfb7c7f9da69b495cd146cc18;hp=cd60bb555936c3953e01f83e86dd03cb0ce1e46e;hpb=9448b0513e2eec020fbca9c10412b83df5027a16;p=musl diff --git a/include/stdio.h b/include/stdio.h index cd60bb55..884d2e6a 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -21,7 +21,11 @@ extern "C" { #include +#ifdef __cplusplus #define NULL 0L +#else +#define NULL ((void*)0) +#endif #undef EOF #define EOF (-1)