Commit 706fdb45 by Ian Lance Taylor

Don't override system definition of MB_LEN_MAX

From-SVN: r4876
parent b9821af8
...@@ -9,9 +9,10 @@ ...@@ -9,9 +9,10 @@
#undef CHAR_BIT #undef CHAR_BIT
#define CHAR_BIT 8 #define CHAR_BIT 8
/* No multibyte characters supported yet. */ /* Maximum length of a multibyte character. */
#undef MB_LEN_MAX #ifndef MB_LEN_MAX
#define MB_LEN_MAX 1 #define MB_LEN_MAX 1
#endif
/* Minimum and maximum values a `signed char' can hold. */ /* Minimum and maximum values a `signed char' can hold. */
#undef SCHAR_MIN #undef SCHAR_MIN
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment