LibC: Add definition for PRIuPTR

This commit is contained in:
Gunnar Beutner 2021-06-18 15:05:03 +02:00 committed by Andreas Kling
commit cf79b499f6
Notes: sideshowbarker 2024-07-18 12:05:22 +09:00

View file

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