X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fwin32%2Finternals%2F_PDCLIB_config.h;h=ea5ef4743e397546f26f24406d9e46eab83f18cc;hb=baf13261427b80f6e3aab2c7ce485ab08d31144f;hp=5e91db53d04cd8f1df57500a186ef591d6773cfa;hpb=0bd5eb227b6f2d515b90fe88087f58ed74286348;p=pdclib diff --git a/platform/win32/internals/_PDCLIB_config.h b/platform/win32/internals/_PDCLIB_config.h index 5e91db5..ea5ef47 100644 --- a/platform/win32/internals/_PDCLIB_config.h +++ b/platform/win32/internals/_PDCLIB_config.h @@ -156,7 +156,7 @@ struct _PDCLIB_lldiv_t XX: Windows requires wchar_t be an unsigned short, but this is not compliant. */ -#define _PDCLIB_wint signed short +#define _PDCLIB_wint signed int #define _PDCLIB_wchar unsigned short #define _PDCLIB_WCHAR USHRT @@ -333,6 +333,16 @@ struct _PDCLIB_imaxdiv_t /* TODO: Better document these */ +/* Locale --------------------------------------------------------------------*/ + +/* Locale method. See _PDCLIB_locale.h. If undefined, POSIX per-thread locales + * will be disabled + */ +#define _PDCLIB_LOCALE_METHOD _PDCLIB_LOCALE_METHOD_TSS + +/* wchar_t encoding */ +#define _PDCLIB_WCHAR_ENCODING _PDCLIB_WCHAR_ENCODING_UTF16 + /* I/O ---------------------------------------------------------------------- */ /* The default size for file buffers. Must be at least 256. */