1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:17:34 +00:00

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

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