summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-09-20 12:36:56 -0400
committerGitHub <noreply@github.com>2021-09-20 12:36:56 -0400
commit1396a9b556ce60da01c99b009ef91d22e5404702 (patch)
treebb5312d79e9bc8f314c62b3111bcb3fdd65d29d3
parentbfdba8ee938f05248879491a5c43083f1b25a79f (diff)
parent2bd3c80e7c30371e2d412b463f758d95bcefd6bc (diff)
downloadlibgit2-1396a9b556ce60da01c99b009ef91d22e5404702.tar.gz
Merge pull request #6020 from lolgear/refactoring/stdint_ifdef_condition_has_been_reverted
Stdint header condition has been reverted.
-rw-r--r--include/git2/stdint.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/git2/stdint.h b/include/git2/stdint.h
index c66fbb817..6950427d2 100644
--- a/include/git2/stdint.h
+++ b/include/git2/stdint.h
@@ -29,9 +29,7 @@
//
///////////////////////////////////////////////////////////////////////////////
-#ifndef _MSC_VER // [
-#error "Use this header only with Microsoft Visual C++ compilers!"
-#endif // _MSC_VER ]
+#ifdef _MSC_VER // [
#ifndef _MSC_STDINT_H_ // [
#define _MSC_STDINT_H_
@@ -245,3 +243,5 @@ typedef uint64_t uintmax_t;
#endif // _MSC_STDINT_H_ ]
+
+#endif // _MSC_VER ] \ No newline at end of file