summaryrefslogtreecommitdiff
path: root/lib/limits.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/limits.in.h')
-rw-r--r--lib/limits.in.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/limits.in.h b/lib/limits.in.h
index a01b4c6a28..45d46fd689 100644
--- a/lib/limits.in.h
+++ b/lib/limits.in.h
@@ -99,6 +99,11 @@
# endif
#endif
+/* Assume no multibyte character is longer than 16 bytes. */
+#ifndef MB_LEN_MAX
+# define MB_LEN_MAX 16
+#endif
+
/* Macros specified by C23 and by ISO/IEC TS 18661-1:2014. */
#if (! defined ULLONG_WIDTH \