#ifndef PYTHON_WIN9X_MSVC600_INTTYPES_H #define PYTHON_WIN9X_MSVC600_INTTYPES_H /* Minimal C99 integer-format compatibility for MSVC 6.0. */ typedef signed char int8_t; typedef unsigned char uint8_t; typedef short int16_t; typedef unsigned short uint16_t; typedef long int32_t; typedef unsigned long uint32_t; typedef __int64 int64_t; typedef unsigned __int64 uint64_t; typedef long intptr_t; typedef unsigned long uintptr_t; typedef signed char int_least8_t; typedef unsigned char uint_least8_t; typedef short int_least16_t; typedef unsigned short uint_least16_t; typedef long int_least32_t; typedef unsigned long uint_least32_t; typedef __int64 int_least64_t; typedef unsigned __int64 uint_least64_t; /* C99 integer limit macros missing from the VC6 standard headers. * This compatibility directory is used only for the 32-bit Win32 target. */ #ifndef INT8_MIN # define INT8_MIN (-127 - 1) #endif #ifndef INT8_MAX # define INT8_MAX 127 #endif #ifndef UINT8_MAX # define UINT8_MAX 0xFFU #endif #ifndef INT16_MIN # define INT16_MIN (-32767 - 1) #endif #ifndef INT16_MAX # define INT16_MAX 32767 #endif #ifndef UINT16_MAX # define UINT16_MAX 0xFFFFU #endif #ifndef INT32_MIN # define INT32_MIN (-2147483647L - 1) #endif #ifndef INT32_MAX # define INT32_MAX 2147483647L #endif #ifndef UINT32_MAX # define UINT32_MAX 0xFFFFFFFFUL #endif #ifndef INT64_MAX # define INT64_MAX 0x7FFFFFFFFFFFFFFFi64 #endif #ifndef INT64_MIN # define INT64_MIN (-INT64_MAX - 1) #endif #ifndef UINT64_MAX # define UINT64_MAX 0xFFFFFFFFFFFFFFFFui64 #endif #ifndef INTPTR_MIN # define INTPTR_MIN (-2147483647L - 1) #endif #ifndef INTPTR_MAX # define INTPTR_MAX 2147483647L #endif #ifndef UINTPTR_MAX # define UINTPTR_MAX 0xFFFFFFFFUL #endif #ifndef SIZE_MAX # define SIZE_MAX 0xFFFFFFFFUL #endif #define PRId32 "ld" #define PRIu32 "lu" #define PRIx32 "lx" #define PRIX32 "lX" #define PRId64 "I64d" #define PRIu64 "I64u" #define PRIx64 "I64x" #define PRIX64 "I64X" /* VC6 has __inline but does not recognize the C99 inline keyword. */ #ifndef inline #define inline __inline #endif #endif