summaryrefslogtreecommitdiff
path: root/tests/c32tob.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-10-20 15:21:43 +0200
committerJörg Frings-Fürst <debian@jff.email>2024-10-20 15:21:43 +0200
commit4682deeb62247d34de87f8e777f99e2d337fd377 (patch)
tree5bd5b5605b5f3a4b3c8ea7468c34c23094afdef4 /tests/c32tob.c
parent00893e79fc62966067af1a106567db96bd170338 (diff)
New upstream version 1.3upstream/1.3upstream
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)