mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 22:00:15 +00:00
Use git__insertsort_r on Android too.
This commit is contained in:
parent
82b2fc2c83
commit
b1447edebc
@ -711,7 +711,7 @@ void git__qsort_r(
|
|||||||
void *els, size_t nel, size_t elsize, git__sort_r_cmp cmp, void *payload)
|
void *els, size_t nel, size_t elsize, git__sort_r_cmp cmp, void *payload)
|
||||||
{
|
{
|
||||||
#if defined(__MINGW32__) || defined(__OpenBSD__) || defined(AMIGA) || \
|
#if defined(__MINGW32__) || defined(__OpenBSD__) || defined(AMIGA) || \
|
||||||
defined(__gnu_hurd__) || \
|
defined(__gnu_hurd__) || defined(__ANDROID_API__) || \
|
||||||
(__GLIBC__ == 2 && __GLIBC_MINOR__ < 8)
|
(__GLIBC__ == 2 && __GLIBC_MINOR__ < 8)
|
||||||
git__insertsort_r(els, nel, elsize, NULL, cmp, payload);
|
git__insertsort_r(els, nel, elsize, NULL, cmp, payload);
|
||||||
#elif defined(GIT_WIN32)
|
#elif defined(GIT_WIN32)
|
||||||
|
Loading…
Reference in New Issue
Block a user