mirror of https://github.com/KLayout/klayout.git
Compatibility with old libgit2
This commit is contained in:
parent
73460016c0
commit
2a41b13efd
|
|
@ -99,7 +99,11 @@ GitObject::~GitObject ()
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
#if LIBGIT2_VER_MAJOR >= 1
|
||||||
fetch_progress (const git_indexer_progress *stats, void *payload)
|
fetch_progress (const git_indexer_progress *stats, void *payload)
|
||||||
|
#else
|
||||||
|
fetch_progress (const git_transfer_progress *stats, void *payload)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
tl::RelativeProgress *progress = reinterpret_cast<tl::RelativeProgress *> (payload);
|
tl::RelativeProgress *progress = reinterpret_cast<tl::RelativeProgress *> (payload);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue