From: Owen Shepherd Date: Sat, 16 Mar 2013 18:55:20 +0000 (+0000) Subject: Win32: Change wint_t to be signed int (32-bit) in order to hold UCS-2 + -1. Additiona... X-Git-Url: https://pd.if.org/git/?p=pdclib;a=commitdiff_plain;h=83cf6c1cd8f5729b66a1da2469d94e75f028a4fd Win32: Change wint_t to be signed int (32-bit) in order to hold UCS-2 + -1. Additionally, this will enable use of a "packed UTF-16" representation with some functions (as an extension) --- diff --git a/platform/win32/internals/_PDCLIB_config.h b/platform/win32/internals/_PDCLIB_config.h index c6da3ef..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