This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
[PATCH] newlib/libc/include/sys/features.h: update __STDC_ISO_10646__
- From: Brian Inglis <Brian dot Inglis at SystematicSW dot ab dot ca>
- To: Cygwin Patches <cygwin-patches at cygwin dot com>
- Cc: Brian Inglis <Brian dot Inglis at SystematicSW dot ab dot ca>
- Date: Tue, 26 Nov 2019 08:34:42 -0700
- Subject: [PATCH] newlib/libc/include/sys/features.h: update __STDC_ISO_10646__
- References: <20191125084633.GC13501@calimero.vinschen.de>
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