summaryrefslogtreecommitdiff
path: root/include/git2/stdint.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/stdint.h')
-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