diff options
author | Sven Strickroth <email@cs-ware.de> | 2012-12-28 13:29:16 +0100 |
---|---|---|
committer | Sven Strickroth <email@cs-ware.de> | 2012-12-28 13:47:13 +0100 |
commit | 46c2c1d53891ab7f701016204562ab5524596035 (patch) | |
tree | 42bd3be8acbaa50f234a4810812be742abf85567 /include/git2/inttypes.h | |
parent | 83261a449f76147c1ebb3ebe592821f7d69bb6f6 (diff) | |
download | libgit2-46c2c1d53891ab7f701016204562ab5524596035.tar.gz |
Fixed compilation with VS >= 2010
Starting with VS2010 MS ships a stdint.h.
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Diffstat (limited to 'include/git2/inttypes.h')
-rw-r--r-- | include/git2/inttypes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/git2/inttypes.h b/include/git2/inttypes.h index ead903f78..716084219 100644 --- a/include/git2/inttypes.h +++ b/include/git2/inttypes.h @@ -40,7 +40,11 @@ #pragma once #endif +#if _MSC_VER >= 1600 +#include <stdint.h> +#else #include "stdint.h" +#endif // 7.8 Format conversion of integer types |