diff options
Diffstat (limited to 'testing/libgit2/10-qsort_r.patch')
-rw-r--r-- | testing/libgit2/10-qsort_r.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/testing/libgit2/10-qsort_r.patch b/testing/libgit2/10-qsort_r.patch deleted file mode 100644 index 056b733f4e..0000000000 --- a/testing/libgit2/10-qsort_r.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/src/util.c b/src/util.c -index b3929bc..fe9af6f 100644 ---- a/src/util.c -+++ b/src/util.c -@@ -628,22 +628,7 @@ 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(AMIGA) || \ -- defined(__OpenBSD__) || defined(__NetBSD__) || \ -- defined(__gnu_hurd__) || defined(__ANDROID_API__) || \ -- defined(__sun) || defined(__CYGWIN__) || \ -- (__GLIBC__ == 2 && __GLIBC_MINOR__ < 8) || \ -- (defined(_MSC_VER) && _MSC_VER < 1500) - git__insertsort_r(els, nel, elsize, NULL, cmp, payload); --#elif defined(GIT_WIN32) -- git__qsort_r_glue glue = { cmp, payload }; -- qsort_s(els, nel, elsize, git__qsort_r_glue_cmp, &glue); --#elif defined(BSD) -- git__qsort_r_glue glue = { cmp, payload }; -- qsort_r(els, nel, elsize, &glue, git__qsort_r_glue_cmp); --#else -- qsort_r(els, nel, elsize, cmp, payload); --#endif - } - - void git__insertsort_r( - |