Skip to content

Commit

Permalink
LibC: Add definition for PRIxMAX
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethmyhra authored and linusg committed Jan 13, 2022
1 parent 0a3c2d5 commit 99f315b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Userland/Libraries/LibC/inttypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 99f315b

Please sign in to comment.