Skip to content

Commit

Permalink
workbench: added macros to deal with older libgit2 versions
Browse files Browse the repository at this point in the history
  • Loading branch information
lpaulsen93 committed Jul 15, 2019
1 parent 59aaa6a commit 80c6e1b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions workbench/src/plugin_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@
#include "idle_queue.h"
#include "tm_control.h"


#if ! defined (LIBGIT2_SOVERSION) || LIBGIT2_SOVERSION < 22
# define git_libgit2_init git_threads_init
# define git_libgit2_shutdown git_threads_shutdown
#endif


GeanyPlugin *geany_plugin;
GeanyData *geany_data;

Expand Down

0 comments on commit 80c6e1b

Please sign in to comment.