8ab911204b6fef1d378ee4c1a0eae85a990c994c
[m6w6/ext-psi] / m4 / posix / stdint.m4
1 PSI_CHECK_STDINT() {
2 AC_CHECK_HEADERS(stdint.h)
3
4 PSI_TYPE(int8_t, sint)
5 PSI_TYPE(uint8_t, uint)
6 PSI_TYPE(int16_t, sint)
7 PSI_TYPE(uint16_t, uint)
8 PSI_TYPE(int32_t, sint)
9 PSI_TYPE(uint32_t, uint)
10 PSI_TYPE(int64_t, sint)
11 PSI_TYPE(uint64_t, uint)
12 PSI_TYPE(int_least8_t, sint)
13 PSI_TYPE(int_least16_t, sint)
14 PSI_TYPE(int_least32_t, sint)
15 PSI_TYPE(int_least64_t, sint)
16 PSI_TYPE(uint_least8_t, uint)
17 PSI_TYPE(uint_least16_t, uint)
18 PSI_TYPE(uint_least32_t, uint)
19 PSI_TYPE(uint_least64_t, uint)
20 PSI_TYPE(int_fast8_t, sint)
21 PSI_TYPE(int_fast16_t, sint)
22 PSI_TYPE(int_fast32_t, sint)
23 PSI_TYPE(int_fast64_t, sint)
24 PSI_TYPE(uint_fast8_t, uint)
25 PSI_TYPE(uint_fast16_t, uint)
26 PSI_TYPE(uint_fast32_t, uint)
27 PSI_TYPE(uint_fast64_t, uint)
28 PSI_TYPE(intptr_t, sint)
29 PSI_TYPE(uintptr_t, uint)
30 PSI_TYPE(intmax_t, sint)
31 PSI_TYPE(uintmax_t, uint)
32
33 PSI_CONST(INT8_MIN, int)
34 PSI_CONST(INT8_MAX, int)
35 PSI_CONST(UINT8_MAX, int)
36 PSI_CONST(INT16_MIN, int)
37 PSI_CONST(INT16_MAX, int)
38 PSI_CONST(UINT16_MAX, int)
39 PSI_CONST(INT32_MIN, int)
40 PSI_CONST(INT32_MAX, int)
41 PSI_CONST(UINT32_MAX, int)
42 PSI_CONST(INT64_MIN, int)
43 PSI_CONST(INT64_MAX, int)
44 PSI_CONST(UINT64_MAX, int)
45
46 PSI_CONST(INT_LEAST8_MIN, int)
47 PSI_CONST(INT_LEAST8_MAX, int)
48 PSI_CONST(UINT_LEAST8_MAX, int)
49 PSI_CONST(INT_LEAST16_MIN, int)
50 PSI_CONST(INT_LEAST16_MAX, int)
51 PSI_CONST(UINT_LEAST16_MAX, int)
52 PSI_CONST(INT_LEAST32_MIN, int)
53 PSI_CONST(INT_LEAST32_MAX, int)
54 PSI_CONST(UINT_LEAST32_MAX, int)
55 PSI_CONST(INT_LEAST64_MIN, int)
56 PSI_CONST(INT_LEAST64_MAX, int)
57 PSI_CONST(UINT_LEAST64_MAX, int)
58
59 PSI_CONST(INT_FAST8_MIN, int)
60 PSI_CONST(INT_FAST8_MAX, int)
61 PSI_CONST(UINT_FAST8_MAX, int)
62 PSI_CONST(INT_FAST16_MIN, int)
63 PSI_CONST(INT_FAST16_MAX, int)
64 PSI_CONST(UINT_FAST16_MAX, int)
65 PSI_CONST(INT_FAST32_MIN, int)
66 PSI_CONST(INT_FAST32_MAX, int)
67 PSI_CONST(UINT_FAST32_MAX, int)
68 PSI_CONST(INT_FAST64_MIN, int)
69 PSI_CONST(INT_FAST64_MAX, int)
70 PSI_CONST(UINT_FAST64_MAX, int)
71
72 PSI_CONST(INTPTR_MIN, int)
73 PSI_CONST(INTPTR_MAX, int)
74 PSI_CONST(UINTPTR_MAX, int)
75 PSI_CONST(INTMAX_MIN, int)
76 PSI_CONST(INTMAX_MAX, int)
77 PSI_CONST(UINTMAX_MAX, int)
78 }