#ifndef __INTTYPES_LOADED #define __INTTYPES_LOADED /**************************************************************************** ** ** - Definitions for platform specific integer types ** ***************************************************************************** ** Header introduced by the X/Open CAE Specification, Issue 5 ***************************************************************************** ** ** Copyright Digital Equipment Corporation 1997. 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. ** */ #pragma __nostandard /* ** 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 /* ** Define integral 8-bit, 16-bit, 32-bit, and 64-bit types */ typedef signed char int8_t; typedef unsigned char uint8_t; typedef short int int16_t; typedef unsigned short int uint16_t; typedef int int32_t; typedef unsigned int uint32_t; /* ** The VAX implementation is just a placeholder until the C9X work is done */ #ifdef __ALPHA typedef __int64 int64_t; typedef unsigned __int64 uint64_t; #else typedef struct { int __p1; int __p2; } int64_t; typedef struct { unsigned int __p1; unsigned int __p2; } uint64_t; #endif /* ** Declare [un]signed integral types large enough to hold any pointer. */ #ifdef __ALPHA typedef int64_t intptr_t; typedef uint64_t uintptr_t; #else typedef int32_t intptr_t; typedef uint32_t uintptr_t; #endif /* ** Restore messages */ #if ((__DECC_VER >= 50600000) && !defined(__DECCXX)) # pragma __message __restore #endif #pragma __standard #endif /* __INTTYPES_LOADED */