LibC: Add definition for PRIxMAX

This commit is contained in:
Kenneth Myhra 2022-01-12 22:08:49 +01:00 committed by Linus Groh
parent 0a3c2d5a8f
commit 99f315bda1
Notes: sideshowbarker 2024-07-17 20:56:40 +09:00

View file

@ -50,10 +50,12 @@ __BEGIN_DECLS
#ifndef __x86_64__
# define PRIx64 "llx"
# define PRIX64 "llX"
# define PRIxMAX "llx"
# define PRIxPTR "x"
#else
# define PRIx64 "lx"
# define PRIX64 "lX"
# define PRIxMAX "lx"
# define PRIxPTR "lx"
#endif