1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:57:35 +00:00

LibC: Add definition for PRIxPTR

This commit is contained in:
Gunnar Beutner 2021-05-24 16:42:43 +02:00 committed by Andreas Kling
parent 16094baffc
commit 3526fbbc5f

View file

@ -48,9 +48,11 @@ __BEGIN_DECLS
#ifndef __LP64__ #ifndef __LP64__
# define PRIx64 "llx" # define PRIx64 "llx"
# define PRIX64 "llX" # define PRIX64 "llX"
# define PRIxPTR "x"
#else #else
# define PRIx64 "lx" # define PRIx64 "lx"
# define PRIX64 "lX" # define PRIX64 "lX"
# define PRIxPTR "lx"
#endif #endif
#define __PRI64_PREFIX "ll" #define __PRI64_PREFIX "ll"