]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/Include/limits.h
StdLib: Add multi-byte character support. The normal "narrow" character set is now...
[mirror_edk2.git] / StdLib / Include / limits.h
index 4fceca201590801e059c63fe944a0189209cba59..5da4032f02b1141ca4f58ba75f0bd47081465106 100644 (file)
@@ -8,7 +8,7 @@
   type as would an expression that is an object of the corresponding type\r
   converted according to the integer promotions.\r
 \r
-  Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials are licensed and made available under\r
   the terms and conditions of the BSD License that accompanies this distribution.\r
   The full text of the license may be found at\r
@@ -28,7 +28,7 @@
 /* Define the values required by the ISO/IEC 9899 Specification. */\r
 \r
 /** Maximum number of bytes in a multibyte character, for any supported locale. **/\r
-#define MB_LEN_MAX  2               /* 16-bit UTC-2 */\r
+#define MB_LEN_MAX  4               /* UTF-8 can require up to 4 bytes */\r
 \r
 /** Number of bits comprising the smallest object that is not a bit-field (byte). **/\r
 #define CHAR_BIT    __CHAR_BIT\r