From 5f41f0b935b257c09b4ba9e02f6200ebe5ded15f Mon Sep 17 00:00:00 2001 From: Philip Guenthe Date: Fri, 27 Nov 2009 19:54:36 +0000 Subject: 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@ --- sys/arch/m88k/include/limits.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/arch/m88k/include/limits.h') diff --git a/sys/arch/m88k/include/limits.h b/sys/arch/m88k/include/limits.h index e071b720c15..e650c2f04db 100644 --- a/sys/arch/m88k/include/limits.h +++ b/sys/arch/m88k/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.3 2006/01/06 22:48:47 millert Exp $ */ +/* $OpenBSD: limits.h,v 1.4 2009/11/27 19:54:35 guenther Exp $ */ /* * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. @@ -35,8 +35,6 @@ #include -#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */ - #if __POSIX_VISIBLE || __XPG_VISIBLE #ifndef SIZE_MAX #define SIZE_MAX UINT_MAX /* max value for a size_t */ -- cgit v1.2.3