mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 04:22:28 +00:00
LibC: Add definition for PRIuPTR
This commit is contained in:
parent
7fa5f6be7d
commit
cf79b499f6
Notes:
sideshowbarker
2024-07-18 12:05:22 +09:00
Author: https://github.com/gunnarbeutner
Commit: cf79b499f6
Pull-request: https://github.com/SerenityOS/serenity/pull/8134
1 changed files with 2 additions and 0 deletions
|
@ -36,8 +36,10 @@ __BEGIN_DECLS
|
||||||
#define PRIu32 "u"
|
#define PRIu32 "u"
|
||||||
#ifndef __LP64__
|
#ifndef __LP64__
|
||||||
# define PRIu64 "llu"
|
# define PRIu64 "llu"
|
||||||
|
# define PRIuPTR "x"
|
||||||
#else
|
#else
|
||||||
# define PRIu64 "lu"
|
# define PRIu64 "lu"
|
||||||
|
# define PRIuPTR "lx"
|
||||||
#endif
|
#endif
|
||||||
#define PRIx8 "b"
|
#define PRIx8 "b"
|
||||||
#define PRIX8 "hhX"
|
#define PRIX8 "hhX"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue