summaryrefslogtreecommitdiff
path: root/src/cc-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cc-compat.h')
-rw-r--r--src/cc-compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cc-compat.h b/src/cc-compat.h
index 0b66d8ba1..cefdc928b 100644
--- a/src/cc-compat.h
+++ b/src/cc-compat.h
@@ -49,9 +49,11 @@
#if defined(_MSC_VER) || defined(__MINGW32__)
# define PRIuZ "Iu"
# define PRIxZ "Ix"
+# define PRIdZ "Id"
#else
# define PRIuZ "zu"
# define PRIxZ "zx"
+# define PRIdZ "zd"
#endif
/* Micosoft Visual C/C++ */