summaryrefslogtreecommitdiff
path: root/lib/uchar.in.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-01-04 15:53:35 +0100
committerBruno Haible <bruno@clisp.org>2020-01-04 15:53:35 +0100
commit42883bf8230a40caf82afd5613449fa59e61165a (patch)
tree0ab266594e49d1f97d2a39d0884e376f042b43bb /lib/uchar.in.h
parentc5c965be88d4baf3e473c5a4920779d14f49144b (diff)
downloadgnulib-42883bf8230a40caf82afd5613449fa59e61165a.tar.gz
uchar: Decide about _GL_LARGE_CHAR32_T at configure time.
* m4/uchar.m4 (gl_UCHAR_H): Set SMALL_WCHAR_T. * modules/uchar (Files): Add stdint.m4. (Makefile.am): Substitute SMALL_WCHAR_T. * lib/uchar.in.h (_GL_LARGE_CHAR32_T): Rely on SMALL_WCHAR_T.
Diffstat (limited to 'lib/uchar.in.h')
-rw-r--r--lib/uchar.in.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uchar.in.h b/lib/uchar.in.h
index f377cb4876..5241b2e4ff 100644
--- a/lib/uchar.in.h
+++ b/lib/uchar.in.h
@@ -55,7 +55,7 @@ typedef uint_least32_t char32_t;
#endif
/* Define if a 'char32_t' can hold more characters than a 'wchar_t'. */
-#if (defined _AIX && !defined __64BIT__) || defined _WIN32 || defined __CYGWIN__
+#if @SMALL_WCHAR_T@ /* 32-bit AIX, Cygwin, native Windows */
# define _GL_LARGE_CHAR32_T 1
#endif