From 642e624903e01e2e3809f85f65cfb22e967e122c Mon Sep 17 00:00:00 2001 From: Martin Baute Date: Sun, 27 Mar 2016 13:47:31 +0200 Subject: [PATCH] wchar_t on POSIX is int, not short. --- platform/example/internals/_PDCLIB_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/example/internals/_PDCLIB_config.h b/platform/example/internals/_PDCLIB_config.h index 168053f..13600b4 100755 --- a/platform/example/internals/_PDCLIB_config.h +++ b/platform/example/internals/_PDCLIB_config.h @@ -145,8 +145,8 @@ struct _PDCLIB_lldiv_t /* 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. -- 2.40.0