summaryrefslogtreecommitdiff
path: root/lib/c32is-impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/c32is-impl.h')
-rw-r--r--lib/c32is-impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/c32is-impl.h b/lib/c32is-impl.h
index 13a7dff58c..d5e5362c0b 100644
--- a/lib/c32is-impl.h
+++ b/lib/c32is-impl.h
@@ -61,7 +61,7 @@ FUNC (wint_t wc)
#elif HAVE_WORKING_MBRTOC32 /* glibc */
/* mbrtoc32() is essentially defined by the system libc. */
-# if defined __GLIBC__
+# if _GL_WCHAR_T_IS_UCS4
/* The char32_t encoding of a multibyte character is known to be the same as
the wchar_t encoding. */
return WCHAR_FUNC (wc);