#ifndef __INTTYPES_LOADED #define __INTTYPES_LOADED /**************************************************************************** ** ** - Definitions for platform specific integer types ** ***************************************************************************** ** Header introduced by the X/Open CAE Specification, Issue 5 ***************************************************************************** ** ** Copyright 2003 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. ** ***************************************************************************** */ #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 */ #if !defined(__VAX) 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. */ #if !defined(__VAX) 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 */