Add PRiX* macros to inttypes.h

This commit is contained in:
Xavier Del Campo Romero 2020-11-08 17:33:15 +01:00
parent a6a6e2aac9
commit 4fb20e290e
1 changed files with 9 additions and 0 deletions

View File

@ -65,4 +65,13 @@ typedef long intptr_t;
#define PRIuMAX "llu"
#define PRIuPTR "lu"
#define PRIx8 "hhx"
#define PRIX8 "hhX"
#define PRIx16 "hx"
#define PRIX16 "hX"
#define PRIx32 "x"
#define PRIX32 "X"
#define PRIx64 "lx"
#define PRIX64 "lX"
#endif