summaryrefslogtreecommitdiff
path: root/tests/c32tob.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2025-03-22 18:00:25 +0100
committerJörg Frings-Fürst <debian@jff.email>2025-03-22 18:00:25 +0100
commit0737819efdd0bae112d16d874cac7e747e43cd08 (patch)
tree98a9ac84f7f347ae530c14852c68870682f3d04c /tests/c32tob.c
parent163a663518f33bab48b28431972e580b366b4d49 (diff)
parente670957a8693f860cf7d77fed4ce6b4b056a8083 (diff)
Merge branch 'release/debian/1.3-1'debian/1.3-1
Diffstat (limited to 'tests/c32tob.c')
-rw-r--r--tests/c32tob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/c32tob.c b/tests/c32tob.c
index 901c9249..eb817cc0 100644
--- a/tests/c32tob.c
+++ b/tests/c32tob.c
@@ -36,7 +36,7 @@ _GL_EXTERN_INLINE
int
c32tob (wint_t wc)
{
-#if HAVE_WORKING_MBRTOC32 && !_GL_WCHAR_T_IS_UCS4
+#if HAVE_WORKING_MBRTOC32 && HAVE_WORKING_C32RTOMB && !_GL_WCHAR_T_IS_UCS4
/* The char32_t encoding of a multibyte character may be different than its
wchar_t encoding. */
if (wc != WEOF)