fix invalid guard forcing v27 instead of v28 #515

Merged
Nivl merged 1 commits from patch-1 into master 2020-02-12 06:32:51 -06:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 5cdcbf1607 - Show all commits

View File

@ -6,8 +6,8 @@ package git
#include <git2.h> #include <git2.h>
#cgo pkg-config: libgit2 #cgo pkg-config: libgit2
#if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 27 #if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 28
# error "Invalid libgit2 version; this git2go supports libgit2 v0.27" # error "Invalid libgit2 version; this git2go supports libgit2 v0.28"
#endif #endif
*/ */