mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-28 02:16:21 +00:00
qsort_r is broken on HURD, avoid
This commit is contained in:
parent
4bc67efd74
commit
25a899ec84
@ -685,7 +685,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(__OpenBSD__) || defined(AMIGA) || \
|
||||
defined(__gnu_hurd__)
|
||||
git__insertsort_r(els, nel, elsize, NULL, cmp, payload);
|
||||
#elif defined(GIT_WIN32)
|
||||
git__qsort_r_glue glue = { cmp, payload };
|
||||
|
Loading…
Reference in New Issue
Block a user