|
22 | 22 | #define PRIdLEAST16 "d" /* int_least16_t */
|
23 | 23 | #define PRIdLEAST32 "d" /* int_least32_t */
|
24 | 24 | #define PRIdLEAST64 "lld" /* int_least64_t */
|
| 25 | +#define PRIdMAX "lld" /* intmax_t */ |
25 | 26 | #define PRIdPTR "ld" /* intptr_t */
|
26 | 27 |
|
27 | 28 | #define PRIi8 "i" /* int8_t */
|
|
36 | 37 | #define PRIiLEAST16 "i" /* int_least16_t */
|
37 | 38 | #define PRIiLEAST32 "i" /* int_least32_t */
|
38 | 39 | #define PRIiLEAST64 "lli" /* int_least64_t */
|
| 40 | +#define PRIiMAX "lli" /* intmax_t */ |
39 | 41 | #define PRIiPTR "li" /* intptr_t */
|
40 | 42 |
|
41 | 43 | #define PRIo8 "o" /* int8_t */
|
|
50 | 52 | #define PRIoLEAST16 "o" /* int_least16_t */
|
51 | 53 | #define PRIoLEAST32 "o" /* int_least32_t */
|
52 | 54 | #define PRIoLEAST64 "llo" /* int_least64_t */
|
| 55 | +#define PRIoMAX "llo" /* intmax_t */ |
53 | 56 | #define PRIoPTR "lo" /* intptr_t */
|
54 | 57 |
|
55 | 58 | #define PRIu8 "u" /* uint8_t */
|
|
64 | 67 | #define PRIuLEAST16 "u" /* uint_least16_t */
|
65 | 68 | #define PRIuLEAST32 "u" /* uint_least32_t */
|
66 | 69 | #define PRIuLEAST64 "llu" /* uint_least64_t */
|
| 70 | +#define PRIuMAX "llu" /* uintmax_t */ |
67 | 71 | #define PRIuPTR "lu" /* uintptr_t */
|
68 | 72 |
|
69 | 73 | #define PRIx8 "x" /* uint8_t */
|
|
78 | 82 | #define PRIxLEAST16 "x" /* uint_least16_t */
|
79 | 83 | #define PRIxLEAST32 "x" /* uint_least32_t */
|
80 | 84 | #define PRIxLEAST64 "llx" /* uint_least64_t */
|
| 85 | +#define PRIxMAX "llx" /* uintmax_t */ |
81 | 86 | #define PRIxPTR "lx" /* uintptr_t */
|
82 | 87 |
|
83 | 88 | #define PRIX8 "X" /* uint8_t */
|
|
92 | 97 | #define PRIXLEAST16 "X" /* uint_least16_t */
|
93 | 98 | #define PRIXLEAST32 "X" /* uint_least32_t */
|
94 | 99 | #define PRIXLEAST64 "llX" /* uint_least64_t */
|
| 100 | +#define PRIXMAX "llX" /* uintmax_t */ |
95 | 101 | #define PRIXPTR "lX" /* uintptr_t */
|
96 | 102 |
|
97 | 103 | #endif
|
0 commit comments