From b1aa8394ef6618a8aecfd1675bae35597c057f0e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 24 Dec 1997 21:05:48 +0000 Subject: [PATCH] Always define MB_LEN_MAX. --- limits.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.47.2