summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/Libraries/LibC/inttypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/inttypes.h b/Userland/Libraries/LibC/inttypes.h
index 9355cf6ec6..a6abf94765 100644
--- a/Userland/Libraries/LibC/inttypes.h
+++ b/Userland/Libraries/LibC/inttypes.h
@@ -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"