]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/Include/X64/machine/ansi.h
StdLib: Add multi-byte character support. The normal "narrow" character set is now...
[mirror_edk2.git] / StdLib / Include / X64 / machine / ansi.h
index 1d276f608c66d8b4cc21c26ca06dc59c477333b9..e6ff195a8207df35589fd4d075258614f9b040f7 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
     Machine dependent ANSI type definitions.\r
 \r
-    Copyright (c) 2010, 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\r
     under the terms and conditions of the BSD License that accompanies this\r
     distribution.  The full text of the license may be found at\r
  * mbstate_t is an opaque object to keep conversion state, during multibyte\r
  * stream conversions.  The content must not be referenced by user programs.\r
  */\r
-typedef union {\r
-  __int64_t __mbstateL; /* for alignment */\r
-  char __mbstate8[128];\r
+typedef struct {\r
+  UINT32  A;      // Np;\r
+  UINT32  B;      // U;\r
+  UINT32  E;      // L\r
+  UINT8   C[4];   // n[4]\r
+  UINT16  D[2];   // w[2]\r
 } __mbstate_t;\r
 #define _BSD_MBSTATE_T_   __mbstate_t /* mbstate_t */\r
 \r