#ifndef __BITYPES_LOADED #define __BITYPES_LOADED 1 /**************************************************************************** ** ** - basic integral types ** ***************************************************************************** ** Header is nonstandard ***************************************************************************** ** ** Copyright Digital Equipment Corporation 1998. All rights reserved. ** ** Restricted Rights: Use, duplication, or disclosure by the U.S. ** Government is subject to restrictions as set forth in subparagraph ** (c) (1) (ii) of DFARS 252.227-7013, or in FAR 52.227-19, or in FAR ** 52.227-14 Alt. III, as applicable. ** ** This software is proprietary to and embodies the confidential ** technology of Digital Equipment Corporation. Possession, use, or ** copying of this software and media is authorized only pursuant to a ** valid written license from Digital or an authorized sublicensor. ** ****************************************************************************** ** ** 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 */ #ifdef __ALPHA typedef __int64 int64m_t; typedef unsigned __int64 u_int64_t; typedef unsigned __int64 uint64m_t; #else 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; #endif /* ** Restore messages */ #if ((__DECC_VER >= 50600000) && !defined(__DECCXX)) # pragma __message __restore #endif #pragma __standard #endif /* __BITYPES_LOADED */