summaryrefslogtreecommitdiff
path: root/tests/btoc32.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/btoc32.c
parent00893e79fc62966067af1a106567db96bd170338 (diff)
New upstream version 1.3upstream/1.3upstream
Diffstat (limited to 'tests/btoc32.c')
-rw-r--r--tests/btoc32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/btoc32.c b/tests/btoc32.c
index 4f223059..469148c9 100644
--- a/tests/btoc32.c
+++ b/tests/btoc32.c
@@ -36,7 +36,7 @@ _GL_EXTERN_INLINE
wint_t
btoc32 (int c)
{
-#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 (c != EOF)