diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2009-11-27 19:54:36 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2009-11-27 19:54:36 +0000 |
commit | 5f41f0b935b257c09b4ba9e02f6200ebe5ded15f (patch) | |
tree | 2c11b50e73818c1a5fdced20785a1b6d82d7ebb3 /sys/arch/amd64/include | |
parent | 7fd2c499074a7f0b6adb702b617d57e09581d5f5 (diff) |
Move MB_LEN_MAX into the machine-independent sys/limits.h header,
rather than defining it separately for each architecture.
Also set it to 4, to accommodate for future UTF-8 support (rfc3629).
Diff by stsp, committing to catch the libc major bump
ok kettenis@, guenther@
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r-- | sys/arch/amd64/include/limits.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/amd64/include/limits.h b/sys/arch/amd64/include/limits.h index 0f45207eb37..a8c4a88db1b 100644 --- a/sys/arch/amd64/include/limits.h +++ b/sys/arch/amd64/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.4 2006/01/06 22:48:46 millert Exp $ */ +/* $OpenBSD: limits.h,v 1.5 2009/11/27 19:54:35 guenther Exp $ */ /* * Copyright (c) 1988 The Regents of the University of California. @@ -36,8 +36,6 @@ #include <sys/cdefs.h> -#define MB_LEN_MAX 1 /* no multibyte characters */ - #if __POSIX_VISIBLE || __XPG_VISIBLE #ifndef SIZE_MAX #define SIZE_MAX ULONG_MAX /* max value for a size_t */ |