aboutsummaryrefslogtreecommitdiffstats
path: root/include/limits.h
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2002-12-22 06:38:45 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2002-12-22 06:38:45 +0000
commitb30a7779d40ef3bf129053529d232478553f1941 (patch)
tree39d084a9ddea601780f31e7f1a32703758729c88 /include/limits.h
parent9361856c8a9b0802a9dee3142567d4162dd1bcac (diff)
downloadsrc-b30a7779d40ef3bf129053529d232478553f1941.tar.gz
src-b30a7779d40ef3bf129053529d232478553f1941.zip
MB_LEN_MAX is not MD, move it to the MI limits.h.
Notes
Notes: svn path=/head/; revision=108175
Diffstat (limited to 'include/limits.h')
-rw-r--r--include/limits.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/limits.h b/include/limits.h
index 8422db5cdf77..ca5edb21a5aa 100644
--- a/include/limits.h
+++ b/include/limits.h
@@ -123,6 +123,8 @@
#define NL_TEXTMAX 2048
#endif
+#define MB_LEN_MAX 6 /* 31-bit UTF-8 */
+
#include <machine/limits.h>
#if __POSIX_VISIBLE