summaryrefslogtreecommitdiff
path: root/src/cc-compat.h
diff options
context:
space:
mode:
authorlhchavez <lhchavez@lhchavez.com>2019-01-06 08:36:06 -0800
committerlhchavez <lhchavez@lhchavez.com>2019-01-06 08:45:13 -0800
commit321d19c1058fc10cb9deabccf99557ec5642a2e3 (patch)
treefd751a5672fe29e9f18043a15bd1734142040a61 /src/cc-compat.h
parentb5e8272fdcab4e7f238a72d0b9c9fc9c753fd381 (diff)
downloadlibgit2-321d19c1058fc10cb9deabccf99557ec5642a2e3.tar.gz
Windows is hard.
Diffstat (limited to 'src/cc-compat.h')
-rw-r--r--src/cc-compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cc-compat.h b/src/cc-compat.h
index 5d3e652b1..893c2a4da 100644
--- a/src/cc-compat.h
+++ b/src/cc-compat.h
@@ -51,16 +51,19 @@
# if (SIZE_MAX == ULLONG_MAX)
# define PRIuZ "I64u"
# define PRIxZ "I64x"
+# define PRIXZ "I64X"
# define PRIdZ "I64d"
# else
# define PRIuZ "Iu"
# define PRIxZ "Ix"
+# define PRIXZ "IX"
# define PRIdZ "Id"
# endif
#else
# define PRIuZ "zu"
# define PRIxZ "zx"
+# define PRIXZ "zX"
# define PRIdZ "zd"
#endif