mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-06 14:10:30 +08:00
Always define MB_LEN_MAX.
This commit is contained in:
parent
3c37f45c06
commit
b1aa8394ef
8
limits.h
8
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 <limits.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user