X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=StdLib%2FInclude%2Flimits.h;h=5da4032f02b1141ca4f58ba75f0bd47081465106;hp=4fceca201590801e059c63fe944a0189209cba59;hb=a7a8363d86ec8ad445fb73619b1ca5cac4e56a86;hpb=c7907ba2fa68a7515747385bf63b47f5e281c904 diff --git a/StdLib/Include/limits.h b/StdLib/Include/limits.h index 4fceca2015..5da4032f02 100644 --- a/StdLib/Include/limits.h +++ b/StdLib/Include/limits.h @@ -8,7 +8,7 @@ type as would an expression that is an object of the corresponding type converted according to the integer promotions. - Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.
+ Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License that accompanies this distribution. The full text of the license may be found at @@ -28,7 +28,7 @@ /* Define the values required by the ISO/IEC 9899 Specification. */ /** Maximum number of bytes in a multibyte character, for any supported locale. **/ -#define MB_LEN_MAX 2 /* 16-bit UTC-2 */ +#define MB_LEN_MAX 4 /* UTF-8 can require up to 4 bytes */ /** Number of bits comprising the smallest object that is not a bit-field (byte). **/ #define CHAR_BIT __CHAR_BIT