mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 12:24:11 +00:00
inttypes.h is built-in header file since MSVC 2013
The reason is that the types defined in libgit2's inttypes.h collide with system inttypes.h 3rd party library header files may directly reference MSVC's built-in inttypes.h Fixes #3476
This commit is contained in:
parent
44b1e3e390
commit
240a85cf10
@ -20,7 +20,7 @@
|
|||||||
# define GIT_END_DECL /* empty */
|
# define GIT_END_DECL /* empty */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#if defined(_MSC_VER) && _MSC_VER < 1800
|
||||||
GIT_BEGIN_DECL
|
GIT_BEGIN_DECL
|
||||||
# include "inttypes.h"
|
# include "inttypes.h"
|
||||||
GIT_END_DECL
|
GIT_END_DECL
|
||||||
|
Loading…
Reference in New Issue
Block a user