X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Flocale.h;h=9da47269e042a0483e323a86c926a1f941d0d81f;hp=702302378c5aaf0afbe74c38653c84ba433a9260;hb=131b5be2f44012ae952f5883e13c1ae72ce3b033;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;ds=sidebyside diff --git a/include/locale.h b/include/locale.h index 70230237..9da47269 100644 --- a/include/locale.h +++ b/include/locale.h @@ -53,7 +53,8 @@ char *setlocale (int, const char *); struct lconv *localeconv(void); -#if 1 +#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ + || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) #define __NEED_locale_t