Skip to content

Commit 1396a9b

Browse files
authored
Merge pull request libgit2#6020 from lolgear/refactoring/stdint_ifdef_condition_has_been_reverted
Stdint header condition has been reverted.
2 parents bfdba8e + 2bd3c80 commit 1396a9b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/git2/stdint.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
//
3030
///////////////////////////////////////////////////////////////////////////////
3131

32-
#ifndef _MSC_VER // [
33-
#error "Use this header only with Microsoft Visual C++ compilers!"
34-
#endif // _MSC_VER ]
32+
#ifdef _MSC_VER // [
3533

3634
#ifndef _MSC_STDINT_H_ // [
3735
#define _MSC_STDINT_H_
@@ -245,3 +243,5 @@ typedef uint64_t uintmax_t;
245243

246244

247245
#endif // _MSC_STDINT_H_ ]
246+
247+
#endif // _MSC_VER ]

0 commit comments

Comments
 (0)