Update the static version check to v0.26

This commit is contained in:
Carlos Martín Nieto 2017-09-03 16:09:44 +02:00
parent e0c6962c02
commit f93b2433d5
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@ package git
#cgo !windows pkg-config: --static ${SRCDIR}/vendor/libgit2/build/libgit2.pc
#include <git2.h>
#if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 25
# error "Invalid libgit2 version; this git2go supports libgit2 v0.25"
#if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 26
# error "Invalid libgit2 version; this git2go supports libgit2 v0.26"
#endif
*/