From 551f5cefb41877be03e6d7a03f16fd424fc9de37 Mon Sep 17 00:00:00 2001 From: Jacques Germishuys Date: Wed, 8 Jan 2014 13:47:47 +0200 Subject: [PATCH] Solaris does not have qsort_r --- src/util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util.c b/src/util.c index 47516a8f7..81a64c702 100644 --- a/src/util.c +++ b/src/util.c @@ -729,6 +729,7 @@ void git__qsort_r( #if defined(__MINGW32__) || defined(AMIGA) || \ defined(__OpenBSD__) || defined(__NetBSD__) || \ defined(__gnu_hurd__) || defined(__ANDROID_API__) || \ + defined(__sun) || \ (__GLIBC__ == 2 && __GLIBC_MINOR__ < 8) git__insertsort_r(els, nel, elsize, NULL, cmp, payload); #elif defined(GIT_WIN32)