www.pudn.com > AirAPIF.rar > air_stdint.h
/* Copyright (C) FUJITSU LIMITED 1999 */ /* $Id: air_stdint.h,v 1.2 2000/03/03 17:09:46 JST age Exp $ */ /* This header file is public for users */ /* * $Log: air_stdint.h,v $ * Revision 1.2 2000/03/03 17:09:46 JST age * *** empty log message *** * * $Com: 新規作成 */ /* * 整数定義のヘッダファイル */ #ifndef AIR_STDINT_H #define AIR_STDINT_H #ifndef NOT_HAVE_INTTYPES_H /* Solaris 2.6 以降 */ #include#else /* Solaris 2.5.1 以前 */ #ifdef __cplusplus extern "C" { #endif #ifndef _INT8_T #define _INT8_T typedef signed char int8_t; #endif #ifndef _INT16_T #define _INT16_T typedef short int int16_t; #endif #ifndef _INT32_T #define _INT32_T typedef long int int32_t; #endif #ifndef _INT64_T #define _INT64_T typedef long long int int64_t; #endif #ifndef _UINT8_T #define _UINT8_T typedef unsigned char uint8_t; #endif #ifndef _UINT16_T #define _UINT16_T typedef unsigned short int uint16_t; #endif #ifndef _UINT32_T #define _UINT32_T typedef unsigned long int uint32_t; #endif #ifndef _UINT64_T #define _UINT64_T typedef unsigned long long int uint64_t; #endif #ifndef INT64_C #define INT64_C(val) (val##LL) #endif #ifndef UINT64_C #define UINT64_C(val) (val##ULL) #endif #ifdef __cplusplus } #endif #endif /* NOT_HAVE_INTTYPES_H */ #endif /* AIR_STDINT_H */