summaryrefslogtreecommitdiff
path: root/src/inttypes/PRIdPTR.h
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-16 16:14:04 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-16 16:14:04 -0400
commit661f59838235815b5073a0ef95f410003639519e (patch)
tree28eb14bc8053bb32abd7c103c4078ab4f81b6129 /src/inttypes/PRIdPTR.h
parente223e635cc53fa11e473cdbc864eb69a3da5f290 (diff)
rename non-compiled files to *.h
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)
+*/