https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=68379130ff5d92c22bce87051ec42a5b2a06786e
commit 68379130ff5d92c22bce87051ec42a5b2a06786e Author: Corinna Vinschen <[email protected]> AuthorDate: Mon Feb 9 16:18:51 2026 +0100 Commit: Corinna Vinschen <[email protected]> CommitDate: Mon Feb 9 16:19:44 2026 +0100 Cygwin: uchar.h: define char16_t / char32_t in terms of __char16_t / __char32_t Now that we have base definitions for these types, use them. Signed-off-by: Corinna Vinschen <[email protected]> Diff: --- winsup/cygwin/include/uchar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/include/uchar.h b/winsup/cygwin/include/uchar.h index 032a380b0a15..67e221cde115 100644 --- a/winsup/cygwin/include/uchar.h +++ b/winsup/cygwin/include/uchar.h @@ -11,8 +11,8 @@ typedef unsigned char char8_t; /* C++11 already defines those types. */ #if !defined (__cplusplus) || (__cplusplus - 0 < 201103L) -typedef __uint_least16_t char16_t; -typedef __uint_least32_t char32_t; +typedef __char16_t char16_t; +typedef __char32_t char32_t; #endif __BEGIN_DECLS
