mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
Added support for building against libgit2 v1.9.0 and later
This commit is contained in:
parent
bec8ca431c
commit
3510a09d83
|
|
@ -20,6 +20,12 @@
|
|||
#define LOCAL_TESTING_FILE false
|
||||
#define DEBUG_CLONING false
|
||||
|
||||
// Someone obviously thought it was a bright idea to change the version macros in libgit2 v1.9.0.
|
||||
#if defined(LIBGIT2_VERSION_MAJOR)
|
||||
#define LIBGIT2_VER_MAJOR LIBGIT2_VERSION_MAJOR
|
||||
#define LIBGIT2_VER_MINOR LIBGIT2_VERSION_MINOR
|
||||
#endif
|
||||
|
||||
GuiThemeDownloader::GuiThemeDownloader(std::function<void()> updateCallback)
|
||||
: mRenderer {Renderer::getInstance()}
|
||||
, mBackground {":/graphics/frame.svg"}
|
||||
|
|
|
|||
Loading…
Reference in a new issue