ref: 742736e50d97306ad16853d18c977b502cf35b82
parent: e8d44e6791e9568d0a4e3291d15692f9223870f1
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Fri Oct 18 17:24:03 EDT 2024
inttypes.h: add more PRI*; remove "d" suffix because *printf are the ones exported
--- a/include/npe/inttypes.h
+++ b/include/npe/inttypes.h
@@ -7,8 +7,12 @@
#define CHAR_BIT 8
#endif
+#define PRId32 "d"
+#define PRIu32 "u"
+#define PRIi32 PRId32
+#define PRIx32 "x"
#define PRId64 "lld"
-#define PRIu64 "llud"
+#define PRIu64 "llu"
#define PRIi64 PRId64
#define PRIx64 "llx"
#define PRIdPTR "p"