X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=m4%2Fwchar.m4;h=f1a7026b55415101e9b06976624c235c57d0efcb;hp=2d0a1ae83a5559427f0764b10e26799634751e45;hb=d3171526ab7658114cac4ebe1098af4b038e576e;hpb=39831a9cf4a4aa9f126bc9a949f03ae232e3794b diff --git a/m4/wchar.m4 b/m4/wchar.m4 index 2d0a1ae..f1a7026 100644 --- a/m4/wchar.m4 +++ b/m4/wchar.m4 @@ -1,5 +1,5 @@ PSI_CHECK_WCHAR() { - AC_CHECK_HEADERS(wchar.h) + PSI_CONFIG_POSIX(wchar, wchar.h) PSI_TYPE(wint_t, int) PSI_STRUCT(mbstate_t) @@ -60,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)])