diff --git a/src/application.cpp b/src/application.cpp --- a/src/application.cpp +++ b/src/application.cpp @@ -56,7 +56,7 @@ #ifdef WITH_LIBGIT2 - #if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT_VER_MINOR >= 22) + #if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 22) git_libgit2_init(); #else git_threads_init(); @@ -67,7 +67,7 @@ Application::~Application() { #ifdef WITH_LIBGIT2 - #if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT_VER_MINOR >= 22) + #if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 22) git_libgit2_shutdown(); #else git_threads_shutdown();