Commit 821131fdaee74526d84aaf1c6ceddc2139c551df

Edward Thomson 2015-10-23T10:13:14

Merge pull request #3477 from linquize/inttypes.h inttypes.h is built-in header file since MSVC 2013

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/common.h b/include/git2/common.h
index 7482263..5779061 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