Merge pull request #515 from Nivl/patch-1
fix invalid guard forcing v27 instead of v28
This commit is contained in:
commit
e2d039017f
|
@ -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
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue