diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-12-24 21:05:48 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-12-24 21:05:48 +0000 |
commit | b1aa8394ef6618a8aecfd1675bae35597c057f0e (patch) | |
tree | 70702d26ec575b94964c5222b88110d291c0101b | |
parent | 3c37f45c06afe170cf1c3b68d4145cb023386c54 (diff) |
Always define MB_LEN_MAX.
-rw-r--r-- | limits.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 <limits.h> #endif |