summaryrefslogtreecommitdiff
path: root/src/inttypes/PRIdPTR.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inttypes/PRIdPTR.h')
-rw-r--r--src/inttypes/PRIdPTR.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/inttypes/PRIdPTR.h b/src/inttypes/PRIdPTR.h
new file mode 100644
index 00000000..cb7ae693
--- /dev/null
+++ b/src/inttypes/PRIdPTR.h
@@ -0,0 +1,10 @@
+#include <inttypes.h>
+#if WORD_BIT == 64
+#define PRIdPTR "lld"
+#else
+#define PRIdPTR "ld"
+#endif
+
+/*
+STDC(199901)
+*/