X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=m4%2Fwchar.m4;h=f1a7026b55415101e9b06976624c235c57d0efcb;hp=6c5430b8535af0d031c7f45092a6817733af80e9;hb=d3171526ab7658114cac4ebe1098af4b038e576e;hpb=81b71a515e2024cee739deb6e207eb3b0e7c5d64 diff --git a/m4/wchar.m4 b/m4/wchar.m4 index 6c5430b..f1a7026 100644 --- a/m4/wchar.m4 +++ b/m4/wchar.m4 @@ -1,8 +1,7 @@ PSI_CHECK_WCHAR() { - AC_CHECK_HEADERS(wchar.h) + PSI_CONFIG_POSIX(wchar, wchar.h) PSI_TYPE(wint_t, int) - PSI_TYPE(wctype_t, int) PSI_STRUCT(mbstate_t) PSI_CONST(WINT_MIN, int) @@ -61,10 +60,10 @@ PSI_CHECK_WCHAR() { PSI_DECL(float wcstof, [(const wchar_t *nptr, wchar_t **endptr)]) PSI_DECL(wchar_t *wcstok, [(wchar_t *wcs, const wchar_t *delim, wchar_t **ptr)]) PSI_DECL(long wcstol, [(const wchar_t *nptr, wchar_t **endptr, int base)]) - dnl PSI_DECL(long double wcstold, [(const wchar_t *nptr, wchar_t **endptr)]) - dnl PSI_DECL(long long wcstoll, [(const wchar_t *nptr, wchar_t **endptr, int base)]) + PSI_DECL(long double wcstold, [(const wchar_t *nptr, wchar_t **endptr)]) + PSI_DECL(long long wcstoll, [(const wchar_t *nptr, wchar_t **endptr, int base)]) PSI_DECL(unsigned long wcstoul, [(const wchar_t *nptr, wchar_t **endptr, int base)]) - dnl PSI_DECL(unsigned long long wcstoull, [(const wchar_t *nptr, wchar_t **endptr, int base)]) + PSI_DECL(unsigned long long wcstoull, [(const wchar_t *nptr, wchar_t **endptr, int base)]) PSI_DECL(int wcswidth, [(const wchar_t *s, size_t n)]) PSI_DECL(size_t wcsxfrm, [(wchar_t *ws1, const wchar_t *ws2, size_t n)]) PSI_DECL(size_t wcsxfrm_l, [(wchar_t *ws1, const wchar_t *ws2, size_t n, locale_t loc)])