summaryrefslogtreecommitdiff
path: root/Build_system_static.go
diff options
context:
space:
mode:
Diffstat (limited to 'Build_system_static.go')
-rw-r--r--Build_system_static.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build_system_static.go b/Build_system_static.go
index a96894f..7038e93 100644
--- a/Build_system_static.go
+++ b/Build_system_static.go
@@ -8,8 +8,8 @@ package git
#cgo CFLAGS: -DLIBGIT2_STATIC
#include <git2.h>
-#if LIBGIT2_VER_MAJOR != 1 || LIBGIT2_VER_MINOR < 3 || LIBGIT2_VER_MINOR > 3
-# error "Invalid libgit2 version; this git2go supports libgit2 between v1.3.0 and v1.3.0"
+#if LIBGIT2_VER_MAJOR != 1 || LIBGIT2_VER_MINOR < 5 || LIBGIT2_VER_MINOR > 5
+# error "Invalid libgit2 version; this git2go supports libgit2 between v1.5.0 and v1.5.0"
#endif
*/
import "C"