Solaris does not have qsort_r

This commit is contained in:
Jacques Germishuys 2014-01-08 13:47:47 +02:00
parent fe959e5273
commit 551f5cefb4

View File

@ -729,6 +729,7 @@ void git__qsort_r(
#if defined(__MINGW32__) || defined(AMIGA) || \ #if defined(__MINGW32__) || defined(AMIGA) || \
defined(__OpenBSD__) || defined(__NetBSD__) || \ defined(__OpenBSD__) || defined(__NetBSD__) || \
defined(__gnu_hurd__) || defined(__ANDROID_API__) || \ defined(__gnu_hurd__) || defined(__ANDROID_API__) || \
defined(__sun) || \
(__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)