10 #define __NEED_uint16_t
11 #define __NEED_uint32_t
12 #define __NEED_uint64_t
14 #define __NEED_int_least8_t
15 #define __NEED_int_least16_t
16 #define __NEED_int_least32_t
17 #define __NEED_int_least64_t
19 #define __NEED_uint_least8_t
20 #define __NEED_uint_least16_t
21 #define __NEED_uint_least32_t
22 #define __NEED_uint_least64_t
24 #define __NEED_int_fast8_t
25 #define __NEED_int_fast16_t
26 #define __NEED_int_fast32_t
27 #define __NEED_int_fast64_t
29 #define __NEED_uint_fast8_t
30 #define __NEED_uint_fast16_t
31 #define __NEED_uint_fast32_t
32 #define __NEED_uint_fast64_t
34 #define __NEED_intptr_t
35 #define __NEED_uintptr_t
36 #define __NEED_intmax_t
37 #define __NEED_uintmax_t
39 #include <bits/alltypes.h>
41 #if !defined __cplusplus || defined __STDC_LIMIT_MACROS
43 #define INT8_MIN (-1-0x7f)
44 #define INT16_MIN (-1-0x7fff)
45 #define INT32_MIN (-1-0x7fffffff)
46 #define INT64_MIN (-1-0x7fffffffffffffffLL)
48 #define INT8_MAX (0x7f)
49 #define INT16_MAX (0x7fff)
50 #define INT32_MAX (0x7fffffff)
51 #define INT64_MAX (0x7fffffffffffffffLL)
53 #define UINT8_MAX (0xff)
54 #define UINT16_MAX (0xffff)
55 #define UINT32_MAX (0xffffffff)
56 #define UINT64_MAX (0xffffffffffffffffULL)
58 #define INT_LEAST8_MIN INT8_MIN
59 #define INT_LEAST16_MIN INT16_MIN
60 #define INT_LEAST32_MIN INT32_MIN
61 #define INT_LEAST64_MIN INT64_MIN
63 #define INT_LEAST8_MAX INT8_MAX
64 #define INT_LEAST16_MAX INT16_MAX
65 #define INT_LEAST32_MAX INT32_MAX
66 #define INT_LEAST64_MAX INT64_MAX
68 #define UINT_LEAST8_MAX UINT8_MAX
69 #define UINT_LEAST16_MAX UINT16_MAX
70 #define UINT_LEAST32_MAX UINT32_MAX
71 #define UINT_LEAST64_MAX UINT64_MAX
77 #define WCHAR_MIN INT32_MIN
78 #define WCHAR_MAX INT32_MAX
79 #define WINT_MIN INT32_MIN
80 #define WINT_MAX INT32_MAX
82 #define INTMAX_MIN INT64_MIN
83 #define INTMAX_MAX INT64_MAX
84 #define UINTMAX_MAX UINT64_MAX
86 #include <bits/stdint.h>
90 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
95 #define INT64_C(c) c ## LL
97 #define UINT8_C(c) c ## U
98 #define UINT16_C(c) c ## U
99 #define UINT32_C(c) c ## U
100 #define UINT64_C(c) c ## ULL
102 #define INTMAX_C(c) c ## LL
103 #define UINTMAX_C(c) c ## ULL