diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-20 06:51:16 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-20 06:51:16 +0100 |
commit | 4ddae2c069cb05fa049e9fe3bb6364143ae369d9 (patch) | |
tree | cf45ca8123297af0c58d8dbd33e06026b1cec0c9 /Libraries | |
parent | 124c588f817f0de8a01fd14d469d87bd03b8355d (diff) | |
download | serenity-4ddae2c069cb05fa049e9fe3bb6364143ae369d9.zip |
LibC: Add some missing macros to inttypes.h
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibC/inttypes.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Libraries/LibC/inttypes.h b/Libraries/LibC/inttypes.h index 5c9347a2d7..76f9ef235f 100644 --- a/Libraries/LibC/inttypes.h +++ b/Libraries/LibC/inttypes.h @@ -37,6 +37,10 @@ #define PRIi32 "d" #define PRIi64 "lld" #define PRIu8 "u" +#define PRIo8 "o" +#define PRIo16 "o" +#define PRIo32 "o" +#define PRIo64 "llo" #define PRIu16 "u" #define PRIu32 "u" #define PRIu64 "llu" @@ -53,3 +57,11 @@ #define PRIdPTR __PRIPTR_PREFIX "d" #define PRIiPTR __PRIPTR_PREFIX "i" #define PRIXPTR __PRIPTR_PREFIX "X" + +#define PRIdMAX __PRI64_PREFIX "d" +#define PRIoMAX __PRI64_PREFIX "o" +#define PRIuMAX __PRI64_PREFIX "u" + +#define SCNdMAX __PRI64_PREFIX "d" +#define SCNoMAX __PRI64_PREFIX "o" +#define SCNuMAX __PRI64_PREFIX "u" |