[newlib-cygwin/cygwin-3_6-branch] Cygwin: uchar.h: define char16_t / char32_t in terms of __char16_t / __char32_t
Corinna Vinschen via Cygwin-cvs <[email protected]> Thu, 12 Feb 2026 20:32:45 +0000 (GMT)
| Newsgroups | gmane.os.cygwin.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=a9fb0ea868394192961bffd9ef0e275aaa570c67 commit a9fb0ea868394192961bffd9ef0e275aaa570c67 Author: Corinna Vinschen <[email protected]> AuthorDate: Mon Feb 9 16:18:51 2026 +0100 Commit: Corinna Vinschen <[email protected]> CommitDate: Thu Feb 12 21:15:36 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]> (cherry picked from commit 68379130ff5d92c22bce87051ec42a5b2a06786e) 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