mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
LibC: Add definition for PRIxPTR
This commit is contained in:
parent
16094baffc
commit
3526fbbc5f
Notes:
sideshowbarker
2024-07-18 17:25:22 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/3526fbbc5f5 Pull-request: https://github.com/SerenityOS/serenity/pull/7448 Reviewed-by: https://github.com/ADKaster
@ -48,9 +48,11 @@ __BEGIN_DECLS
|
||||
#ifndef __LP64__
|
||||
# define PRIx64 "llx"
|
||||
# define PRIX64 "llX"
|
||||
# define PRIxPTR "x"
|
||||
#else
|
||||
# define PRIx64 "lx"
|
||||
# define PRIX64 "lX"
|
||||
# define PRIxPTR "lx"
|
||||
#endif
|
||||
|
||||
#define __PRI64_PREFIX "ll"
|
||||
|
Loading…
Reference in New Issue
Block a user