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
Notes: sideshowbarker 2024-07-18 17:25:22 +09:00

View File

@ -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"