summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/common.h b/include/git2/common.h
index 748226385..577906115 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -20,7 +20,7 @@
# define GIT_END_DECL /* empty */
#endif
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && _MSC_VER < 1800
GIT_BEGIN_DECL
# include "inttypes.h"
GIT_END_DECL