summaryrefslogtreecommitdiffstats
path: root/gcc/glimits.h
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>1993-07-07 20:41:28 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>1993-07-07 20:41:28 +0000
commitb1f46849fb97096291facdd06d1fa2a6b697beed (patch)
tree5deb3fc6acbd487849d984c008f1846e82c17f28 /gcc/glimits.h
parent5fbd5940d9b8f695ff19aebe3398d5f24c305f32 (diff)
downloadppe42-gcc-b1f46849fb97096291facdd06d1fa2a6b697beed.tar.gz
ppe42-gcc-b1f46849fb97096291facdd06d1fa2a6b697beed.zip
Don't override system definition of MB_LEN_MAX
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4876 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/glimits.h')
-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
OpenPOWER on IntegriCloud