34#if defined(_MSC_VER) && (_MSC_VER < 1900)
76#define INT8_MIN (-127i8 - 1)
77#define INT16_MIN (-32767i16 - 1)
78#define INT32_MIN (-2147483647i32 - 1)
79#define INT64_MIN (-9223372036854775807i64 - 1)
82#define INT16_MAX 32767i16
83#define INT32_MAX 2147483647i32
84#define INT64_MAX 9223372036854775807i64
86#define UINT8_MAX 0xffui8
87#define UINT16_MAX 0xffffui16
88#define UINT32_MAX 0xffffffffui32
89#define UINT64_MAX 0xffffffffffffffffui64
92#define INT_LEAST8_MIN INT8_MIN
93#define INT_LEAST16_MIN INT16_MIN
94#define INT_LEAST32_MIN INT32_MIN
95#define INT_LEAST64_MIN INT64_MIN
97#define INT_LEAST8_MAX INT8_MAX
98#define INT_LEAST16_MAX INT16_MAX
99#define INT_LEAST32_MAX INT32_MAX
100#define INT_LEAST64_MAX INT64_MAX
102#define UINT_LEAST8_MAX UINT8_MAX
103#define UINT_LEAST16_MAX UINT16_MAX
104#define UINT_LEAST32_MAX UINT32_MAX
105#define UINT_LEAST64_MAX UINT64_MAX
108#define INT_FAST8_MIN INT8_MIN
109#define INT_FAST16_MIN INT16_MIN
110#define INT_FAST32_MIN INT32_MIN
111#define INT_FAST64_MIN INT64_MIN
113#define INT_FAST8_MAX INT8_MAX
114#define INT_FAST16_MAX INT16_MAX
115#define INT_FAST32_MAX INT32_MAX
116#define INT_FAST64_MAX INT64_MAX
118#define UINT_FAST8_MAX UINT8_MAX
119#define UINT_FAST16_MAX UINT16_MAX
120#define UINT_FAST32_MAX UINT32_MAX
121#define UINT_FAST64_MAX UINT64_MAX
125#define INTPTR_MIN INT64_MIN
126#define INTPTR_MAX INT64_MAX
127#define UINTPTR_MAX UINT64_MAX
129#define INTPTR_MIN INT32_MIN
130#define INTPTR_MAX INT32_MAX
131#define UINTPTR_MAX UINT32_MAX
135#define INTMAX_MIN INT64_MIN
136#define INTMAX_MAX INT64_MAX
137#define UINTMAX_MAX UINT64_MAX
140#define PTRDIFF_MIN INTPTR_MIN
141#define PTRDIFF_MAX INTPTR_MAX
143#define SIG_ATOMIC_MIN INT32_MIN
144#define SIG_ATOMIC_MAX INT32_MAX
147#define SIZE_MAX UINTPTR_MAX
151#define WCHAR_MIN 0x0000
152#define WCHAR_MAX 0xffff
155#define WINT_MIN 0x0000
156#define WINT_MAX 0xffff
160#define INT16_C(x) (x)
161#define INT32_C(x) (x)
162#define INT64_C(x) (x##LL)
164#define UINT8_C(x) (x)
165#define UINT16_C(x) (x)
166#define UINT32_C(x) (x##U)
167#define UINT64_C(x) (x##ULL)
169#define INTMAX_C(x) INT64_C(x)
170#define UINTMAX_C(x) UINT64_C(x)
177#if defined(_MSC_VER) && (_MSC_VER >= 1900)
182#define BT8XXEMU_INTTYPES_DEFINED_NULL
186#ifndef BT8XXEMU_INTTYPES_DEFINED_COLOR
187#define BT8XXEMU_INTTYPES_DEFINED_COLOR
190#ifndef BT8XXEMU_INTTYPES_DEFINED_FORCEINLINE
191#define BT8XXEMU_INTTYPES_DEFINED_FORCEINLINE
193#define BT8XXEMU_FORCE_INLINE __forceinline
195#define BT8XXEMU_FORCE_INLINE inline __attribute__((always_inline))
unsigned int uint_fast16_t
unsigned char uint_fast8_t
unsigned int uint_fast32_t
unsigned long long uintmax_t
unsigned int uint_least32_t
unsigned long long uint_least64_t
unsigned long long uint64_t
unsigned char uint_least8_t
unsigned long long uint_fast64_t
unsigned short uint_least16_t