summaryrefslogtreecommitdiff
path: root/tests/c32rtomb.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/c32rtomb.c')
-rw-r--r--tests/c32rtomb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/c32rtomb.c b/tests/c32rtomb.c
index 260bf097..c899af1b 100644
--- a/tests/c32rtomb.c
+++ b/tests/c32rtomb.c
@@ -36,7 +36,7 @@ size_t
c32rtomb (char *s, char32_t wc, mbstate_t *ps)
#undef c32rtomb
{
-#if HAVE_WORKING_MBRTOC32
+#if HAVE_WORKING_MBRTOC32 && HAVE_WORKING_C32RTOMB
# if C32RTOMB_RETVAL_BUG
if (s == NULL)