Files
Python3-Win9x/compat/msvc600/inttypes.h
T

40 lines
999 B
C

#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;
#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