]> pd.if.org Git - pdclib/commitdiff
wchar_t on POSIX is int, not short.
authorMartin Baute <solar@rootdirectory.de>
Sun, 27 Mar 2016 11:47:31 +0000 (13:47 +0200)
committerMartin Baute <solar@rootdirectory.de>
Sun, 27 Mar 2016 11:47:31 +0000 (13:47 +0200)
platform/example/internals/_PDCLIB_config.h

index 168053fb7d8b6f244cd12ea2126157c6cda6b4c6..13600b41148c307dc1ada973bca11a071c61da90 100755 (executable)
@@ -145,8 +145,8 @@ struct _PDCLIB_lldiv_t
 /* Large enough an integer to hold all character codes of the largest supported
    locale.
 */
 /* Large enough an integer to hold all character codes of the largest supported
    locale.
 */
-#define _PDCLIB_wchar unsigned short
-#define _PDCLIB_WCHAR USHRT
+#define _PDCLIB_wchar unsigned int
+#define _PDCLIB_WCHAR UINT
 
 /* (Signed) integer type capable of taking the (cast) value of a void *, and
    having the value cast back to void *, comparing equal to the original.
 
 /* (Signed) integer type capable of taking the (cast) value of a void *, and
    having the value cast back to void *, comparing equal to the original.