X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fwchar.h;h=9fd967ccc365e9b1bc18e5c8e45e0cf39acaffe2;hb=839cc4e6da609a0b24f6cc32b0b11558fd77dd83;hp=fd5aac5f7e1acf0db89a0e2184c2ae277b116018;hpb=2e5dfa515f78f5a67eb0cd7e323ab6f3ed76c15d;p=musl diff --git a/include/wchar.h b/include/wchar.h index fd5aac5f..9fd967cc 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -33,7 +33,11 @@ extern "C" { #define WCHAR_MIN (-1-0x7fffffff+L'\0') #endif +#ifdef __cplusplus #define NULL 0L +#else +#define NULL ((void*)0) +#endif #undef WEOF #define WEOF 0xffffffffU