summaryrefslogtreecommitdiff
path: root/src/cc-compat.h
diff options
context:
space:
mode:
authorlhchavez <lhchavez@lhchavez.com>2019-01-09 06:58:40 -0800
committerGitHub <noreply@github.com>2019-01-09 06:58:40 -0800
commitc6bfaf14cff7457f052e4fded0da4996d2d302d2 (patch)
treed6038ee2cfc3ac1c1aa8d33b007bb9ee11a30037 /src/cc-compat.h
parent728101e3c53e84e87c0cb4776b8f5978cfded94a (diff)
downloadlibgit2-c6bfaf14cff7457f052e4fded0da4996d2d302d2.tar.gz
Explanation for the rationale behind splitting formatting
Diffstat (limited to 'src/cc-compat.h')
-rw-r--r--src/cc-compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cc-compat.h b/src/cc-compat.h
index 893c2a4da..8aaa8bb5a 100644
--- a/src/cc-compat.h
+++ b/src/cc-compat.h
@@ -48,6 +48,7 @@
/* Define the printf format specifer to use for size_t output */
#if defined(_MSC_VER) || defined(__MINGW32__)
+/* The first block is needed to avoid warnings on MingW amd64 */
# if (SIZE_MAX == ULLONG_MAX)
# define PRIuZ "I64u"
# define PRIxZ "I64x"