aboutsummaryrefslogtreecommitdiff
path: root/include/limits.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/limits.h')
-rw-r--r--include/limits.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/limits.h b/include/limits.h
index ab51f48..b149ba1 100644
--- a/include/limits.h
+++ b/include/limits.h
@@ -39,6 +39,12 @@
#endif
+/* Maximum length of any multibyte character in any locale.
+ We define this value here since the gcc header does not define
+ the correct value. */
+#define MB_LEN_MAX 6
+
+
#if __GNUC__ >= 2
/* Get the compiler's limits.h, which defines all the ANSI constants. */
@@ -63,9 +69,6 @@
/* Number of bits in a `char'. */
# define CHAR_BIT 8
-/* Maximum length of any multibyte character in any locale. */
-# define MB_LEN_MAX 6
-
/* Minimum and maximum values a `signed char' can hold. */
# define SCHAR_MIN (-128)
# define SCHAR_MAX 127