mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-02 06:56:45 +00:00
Merge pull request #1970 from ghedo/netbsd_qsort
util: NetBSD doesn't have qsort_r either
This commit is contained in:
commit
7146eff309
@ -726,7 +726,8 @@ static int GIT_STDLIB_CALL git__qsort_r_glue_cmp(
|
||||
void git__qsort_r(
|
||||
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(AMIGA) || \
|
||||
defined(__OpenBSD__) || defined(__NetBSD__) || \
|
||||
defined(__gnu_hurd__) || defined(__ANDROID_API__) || \
|
||||
(__GLIBC__ == 2 && __GLIBC_MINOR__ < 8)
|
||||
git__insertsort_r(els, nel, elsize, NULL, cmp, payload);
|
||||
|
Loading…
Reference in New Issue
Block a user