blob: b900fbbee10127ed5077783d8156130a04310a88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
diff --git a/src/application.cpp b/src/application.cpp
index c52fb57..81fcd12 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -56,7 +56,7 @@ Application::Application(int &argc, char **argv)
#ifdef WITH_LIBGIT2
- #if LIBGIT2_SOVERSION >= 22
+ #if LIBGIT2_VER_MINOR >= 22
git_libgit2_init();
#else
git_threads_init();
@@ -67,7 +67,7 @@ Application::Application(int &argc, char **argv)
Application::~Application()
{
#ifdef WITH_LIBGIT2
- #if LIBGIT2_SOVERSION >= 22
+ #if LIBGIT2_VER_MINOR >= 22
git_libgit2_shutdown();
#else
git_threads_shutdown();
|