summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-10-23 10:13:14 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2015-10-23 10:13:14 -0500
commit821131fdaee74526d84aaf1c6ceddc2139c551df (patch)
tree4d5af3ff1fc86109884b03969196444026177c8f
parent979a5c120c039dc1f2fe7fdef1daf65593d2aaaf (diff)
parent240a85cf10b0ff22a4690d7b01a652b121026d41 (diff)
downloadlibgit2-821131fdaee74526d84aaf1c6ceddc2139c551df.tar.gz
Merge pull request #3477 from linquize/inttypes.h
inttypes.h is built-in header file since MSVC 2013
-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