newlib wide char conversion functions were updated to Unicode 11 on 2019-01-12 update standard symbol __STDC_ISO_10646__ to Unicode 11 release date 2018-06-05 for Cygwin --- newlib/libc/include/sys/features.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h index f28dd071b..218807178 100644 --- a/newlib/libc/include/sys/features.h +++ b/newlib/libc/include/sys/features.h @@ -521,9 +521,13 @@ extern "C" { /* #define _XOPEN_UNIX -1 */ #endif /* __XSI_VISIBLE */ -/* The value corresponds to UNICODE version 5.2, which is the current - state of newlib's wide char conversion functions. */ -#define __STDC_ISO_10646__ 200910L +/* + * newlib's wide char conversion functions were updated on + * 2019-01-12 + * to UNICODE version: + * 11.0.0 released 2018-06-05 + */ +#define __STDC_ISO_10646__ 201806L #endif /* __CYGWIN__ */ -- 2.21.0