From: Ulrich Drepper Date: Wed, 24 Dec 1997 21:05:48 +0000 (+0000) Subject: Always define MB_LEN_MAX. X-Git-Tag: cvs/glibc-2_0_6pre6~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1aa8394ef6618a8aecfd1675bae35597c057f0e;p=thirdparty%2Fglibc.git Always define MB_LEN_MAX. --- diff --git a/limits.h b/limits.h index c7b12786382..9c0071a5288 100644 --- a/limits.h +++ b/limits.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992, 1996 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992, 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -43,6 +43,12 @@ #define _LIBC_LIMITS_H_ /* This tells it not to look for another. */ #endif #ifndef _GCC_LIMITS_H_ /* This is what GCC's file defines. */ + + /* Maximum length of any multibyte character in any locale. We + define this here to prevent the value from the gcc value (which is + one) to take effect. */ + #define MB_LEN_MAX 6 + #include_next #endif