#ifndef __BITYPES_LOADED #define __BITYPES_LOADED 1 /**************************************************************************** ** ** - basic integral types ** ***************************************************************************** ** Header is nonstandard ***************************************************************************** ** ** Copyright 2005 Hewlett-Packard Development Company, L.P. ** ** Confidential computer software. Valid license from HP and/or ** its subsidiaries required for possession, use, or copying. ** ** Consistent with FAR 12.211 and 12.212, Commercial Computer Software, ** Computer Software Documentation, and Technical Data for Commercial ** Items are licensed to the U.S. Government under vendor's standard ** commercial license. ** ** Neither HP nor any of its subsidiaries shall be liable for technical ** or editorial errors or omissions contained herein. The information ** in this document is provided "as is" without warranty of any kind and ** is subject to change without notice. The warranties for HP products ** are set forth in the express limited warranty statements accompanying ** such products. Nothing herein should be construed as constituting an ** additional warranty. ** ***************************************************************************** ** ** Copyright (c) 1993 Regents of the University of California. ** All rights reserved. ** ** Redistribution and use in source and binary forms are permitted provided ** that: (1) source distributions retain this entire copyright notice and ** comment, and (2) distributions including binaries display the following ** acknowledgement: ``This product includes software developed by the ** University of California, Berkeley and its contributors'' in the ** documentation or other materials provided with the distribution and in ** all advertising materials mentioning features or use of this software. ** Neither the name of the University nor the names of its contributors may ** be used to endorse or promote products derived from this software without ** specific prior written permission. ** THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED ** WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF ** MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** ****************************************************************************** */ #pragma __nostandard /* ** Most of these definitions are in which we include ** first and then add those missing definitions. */ #include /* ** Ensure that the compiler will not emit diagnostics about "signed" ** keyword usage when in /STAND=VAXC mode (the reason for the diagnostics ** is that VAX C does not support the signed keyword). */ #if ((__DECC_VER >= 50600000) && !defined(__DECCXX)) # pragma __message __save # pragma __message __disable (__SIGNEDKNOWN) #endif /* ** Basic integral types which are not defined in inttypes.h */ typedef signed char int8m_t; typedef unsigned char u_int8_t; typedef unsigned char u_int8m_t; typedef short int int16m_t; typedef unsigned short int u_int16_t; typedef unsigned short int u_int16m_t; typedef int int32m_t; typedef unsigned int u_int32_t; typedef unsigned int u_int32m_t; /* ** The VAX implementation is just a placeholder until the C9X work is done */ #if !defined(__VAX) typedef __int64 int64m_t; typedef unsigned __int64 u_int64_t; typedef unsigned __int64 uint64m_t; #else /* ** Set __nomember_alignment to avoid internal and tail ** padding in structures; default base alignment. ** Required for consistency across programming languages. */ #pragma __member_alignment __save #pragma __nomember_alignment typedef struct { int __p1; int __p2; } int64m_t; typedef struct { unsigned int __p1; unsigned int __p2; } u_int64_t; typedef struct { unsigned int __p1; unsigned int __p2; } uint64m_t; #pragma __member_alignment __restore #endif /* ** Restore messages */ #if ((__DECC_VER >= 50600000) && !defined(__DECCXX)) # pragma __message __restore #endif #pragma __standard #endif /* __BITYPES_LOADED */