summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/sys/config.h')
-rw-r--r--newlib/libc/include/sys/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h
index 89abbfd9e..d8bdc9c36 100644
--- a/newlib/libc/include/sys/config.h
+++ b/newlib/libc/include/sys/config.h
@@ -3,6 +3,10 @@
#include <machine/ieeefp.h> /* floating point macros */
+/* Length of longest possible multibyte sequence among all supported
+ locales. */
+#define MB_LEN_MAX 8
+
/* exceptions first */
#if defined(__H8300__) || defined(__H8500__) || defined (__H8300H__) || defined(__W65__) || defined (__H8300S__)
#define __SMALL_BITFIELDS