mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +00:00
LibC: Add some missing macros to inttypes.h
This commit is contained in:
parent
124c588f81
commit
4ddae2c069
Notes:
sideshowbarker
2024-07-19 09:12:40 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/4ddae2c069c
1 changed files with 12 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue