diff options
| author | Vicent Martà <vicent@github.com> | 2012-12-28 07:18:55 -0800 | 
|---|---|---|
| committer | Vicent Martà <vicent@github.com> | 2012-12-28 07:18:55 -0800 | 
| commit | 645e67e863a5369b7c02173f859371d89ac2389d (patch) | |
| tree | 42bd3be8acbaa50f234a4810812be742abf85567 | |
| parent | 83261a449f76147c1ebb3ebe592821f7d69bb6f6 (diff) | |
| parent | 46c2c1d53891ab7f701016204562ab5524596035 (diff) | |
| download | libgit2-645e67e863a5369b7c02173f859371d89ac2389d.tar.gz | |
Merge pull request #1171 from csware/fix-compilation-vs2012
Fixed compilation with =>VS2010
| -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 | 
