From: Martin Baute Date: Sun, 27 Mar 2016 11:47:31 +0000 (+0200) Subject: wchar_t on POSIX is int, not short. X-Git-Url: https://pd.if.org/git/?p=pdclib;a=commitdiff_plain;h=642e624903e01e2e3809f85f65cfb22e967e122c wchar_t on POSIX is int, not short. --- 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.