summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/glimits.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/glimits.h b/gcc/glimits.h
index 9b4df3d73d8..08cbb403b05 100644
--- a/gcc/glimits.h
+++ b/gcc/glimits.h
@@ -9,9 +9,10 @@
#undef CHAR_BIT
#define CHAR_BIT 8
-/* No multibyte characters supported yet. */
-#undef MB_LEN_MAX
+/* Maximum length of a multibyte character. */
+#ifndef MB_LEN_MAX
#define MB_LEN_MAX 1
+#endif
/* Minimum and maximum values a `signed char' can hold. */
#undef SCHAR_MIN