X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fwin32%2Finternals%2F_PDCLIB_config.h;h=9e69353827cf0dad6cae9d21c2e90d40a55dd68d;hb=ab37f3993ef0dbbfa85c4775bdacc398a294a75d;hp=4e4050153f399e7dc7e5bd623ce26d0d06613bb9;hpb=ed01ab8d9fcc47f6a4089ef72a73ef7a084d1ed3;p=pdclib.old diff --git a/platform/win32/internals/_PDCLIB_config.h b/platform/win32/internals/_PDCLIB_config.h index 4e40501..9e69353 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 @@ -338,6 +338,9 @@ struct _PDCLIB_imaxdiv_t /* Locale method. See _PDCLIB_locale.h */ #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. */