-/* $NetBSD: ansi.h,v 1.3 2006/10/04 13:52:00 tnozaki Exp $ */\r
+/** @file\r
+ Machine dependent ANSI type definitions.\r
+\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
+ http://opensource.org/licenses/bsd-license.php.\r
+\r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
-/*-\r
* Copyright (c) 1990, 1993\r
* The Regents of the University of California. All rights reserved.\r
*\r
* SUCH DAMAGE.\r
*\r
* @(#)ansi.h 8.2 (Berkeley) 1/4/94\r
+ NetBSD: ansi.h,v 1.3 2006/10/04 13:52:00 tnozaki Exp\r
*/\r
-\r
#ifndef _ANSI_H_\r
#define _ANSI_H_\r
\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