X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Fwchar.h;h=9ceddd57550fc60c386cd3f68c438f4271256fd6;hp=b1c6b7fac44c96100467a57c72f9e6fd367dfdaf;hb=ccc7b4c3a17ade90de71e1e0f44deebbffd646e6;hpb=400c5e5c8307a2ebe44ef1f203f5a15669f20347 diff --git a/include/wchar.h b/include/wchar.h index b1c6b7fa..9ceddd57 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -5,11 +5,7 @@ extern "C" { #endif -#if __STDC_VERSION__ >= 199901L -#define __restrict restrict -#elif !defined(__GNUC__) -#define __restrict -#endif +#include #define __NEED_FILE #define __NEED_va_list @@ -30,12 +26,7 @@ extern "C" { #include -#undef NULL -#ifdef __cplusplus -#define NULL 0 -#else -#define NULL ((void*)0) -#endif +#define NULL 0L #undef WEOF #define WEOF (-1)