diff options
author | Bruno Haible <bruno@clisp.org> | 2023-04-04 12:31:28 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-04-04 12:31:28 +0200 |
commit | 4fab8907555510129a2190bb0268cd1525491e0f (patch) | |
tree | 5910fa6c9bba148a1f4a787466b89c97a11e80ff /tests | |
parent | cf929f4ce35eed6a25ec7fb80e51a1bd1c426cef (diff) | |
download | gnulib-4fab8907555510129a2190bb0268cd1525491e0f.tar.gz |
uchar: Rename _GL_LARGE_CHAR32_T to _GL_SMALL_WCHAR_T.
* lib/uchar.in.h (_GL_SMALL_WCHAR_T): Renamed from _GL_LARGE_CHAR32_T.
* lib/mbrtoc32.c: Update.
* lib/mbsrtoc32s.c: Update.
* lib/mbsnrtoc32s.c: Update.
* lib/c32tob.c: Update.
* lib/c32rtomb.c: Update.
* lib/c32srtombs.c: Update.
* lib/c32snrtombs.c: Update.
* lib/c32is-impl.h: Update.
* tests/test-uchar.c: Update.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-uchar.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-uchar.c b/tests/test-uchar.c index 38c5f2538e..df6a3ea0d0 100644 --- a/tests/test-uchar.c +++ b/tests/test-uchar.c @@ -43,11 +43,11 @@ static_assert ((char16_t)0xFFFF != (char16_t)0x7FFF); /* Check that char32_t is at least 31 bits wide. */ static_assert ((char32_t)0x7FFFFFFF != (char32_t)0x3FFFFFFF); -/* Check that _GL_LARGE_CHAR32_T is correctly defined. */ -#if _GL_LARGE_CHAR32_T -static_assert (sizeof (char32_t) > sizeof (wchar_t)); +/* Check that _GL_SMALL_WCHAR_T is correctly defined. */ +#if _GL_SMALL_WCHAR_T +static_assert (sizeof (wchar_t) < sizeof (char32_t)); #else -static_assert (sizeof (char32_t) == sizeof (wchar_t)); +static_assert (sizeof (wchar_t) == sizeof (char32_t)); #endif int |