Compatibility with libgit2 < 0.28.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2020-07-01 09:22:36 +02:00
parent 74e1471e49
commit 62ebbdbf0d
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,12 @@
#include <string>
#include <string_view>
#if LIBGIT2_VER_MAJOR == 0
# if LIBGIT2_VER_MINOR < 28
# define git_error_last giterr_last
# endif
#endif
namespace FediBlock::git
{