aboutsummaryrefslogtreecommitdiffhomepage
path: root/portability.h
diff options
context:
space:
mode:
Diffstat (limited to 'portability.h')
-rw-r--r--portability.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/portability.h b/portability.h
index 903ecd8..f0bfd07 100644
--- a/portability.h
+++ b/portability.h
@@ -35,4 +35,8 @@
#define htole64(x) (x)
#define be64toh(x) _byteswap_uint64(x)
#define le64toh(x) (x)
+
+ #define PRIsize_t "Iu"
+#else
+ #define PRIsize_t "zu"
#endif