diff options
author | 2009-11-27 19:54:35 +0000 | |
---|---|---|
committer | 2009-11-27 19:54:35 +0000 | |
commit | f938f41ddfd7de5c106c4471202f2bcc10e84474 (patch) | |
tree | 5ddfcd8ced71dd31960c873523f9bf12df9e9e0c /sys/arch/powerpc/include/limits.h | |
parent | Add a signal for librthread to use for interthread ASTs for cancelation (diff) | |
download | wireguard-openbsd-f938f41ddfd7de5c106c4471202f2bcc10e84474.tar.xz wireguard-openbsd-f938f41ddfd7de5c106c4471202f2bcc10e84474.zip |
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/powerpc/include/limits.h')
-rw-r--r-- | sys/arch/powerpc/include/limits.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/powerpc/include/limits.h b/sys/arch/powerpc/include/limits.h index f19af01fa59..4acbab0c5e4 100644 --- a/sys/arch/powerpc/include/limits.h +++ b/sys/arch/powerpc/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.15 2006/01/06 22:48:47 millert Exp $ */ +/* $OpenBSD: limits.h,v 1.16 2009/11/27 19:54:35 guenther Exp $ */ /* $NetBSD: limits.h,v 1.1 1996/09/30 16:34:28 ws Exp $ */ /*- @@ -37,8 +37,6 @@ #include <sys/cdefs.h> -#define MB_LEN_MAX 1 /* no multibyte characters */ - #if __POSIX_VISIBLE || __XPG_VISIBLE #ifndef SIZE_MAX #define SIZE_MAX UINT_MAX /* max value for a size_t */ |