X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flocale.h;h=ce384381c6bda0eff31d50011f3a32d3f3d7ce09;hb=c8a9c22173f485c8c053709e1dfa0a617cb6be1a;hp=7e80fd93ea3f6e3467c830ac99b21fe766787df6;hpb=2e5dfa515f78f5a67eb0cd7e323ab6f3ed76c15d;p=musl diff --git a/include/locale.h b/include/locale.h index 7e80fd93..ce384381 100644 --- a/include/locale.h +++ b/include/locale.h @@ -7,7 +7,11 @@ extern "C" { #include +#ifdef __cplusplus #define NULL 0L +#else +#define NULL ((void*)0) +#endif #define LC_CTYPE 0 #define LC_NUMERIC 1