From 83cf6c1cd8f5729b66a1da2469d94e75f028a4fd Mon Sep 17 00:00:00 2001 From: Owen Shepherd Date: Sat, 16 Mar 2013 18:55:20 +0000 Subject: [PATCH] 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) --- platform/win32/internals/_PDCLIB_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0