summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Germishuys <jacquesg@striata.com>2014-04-30 11:47:58 +0200
committerJacques Germishuys <jacquesg@striata.com>2014-04-30 13:17:15 +0200
commit90a4340aaa52132894d4032c4231f23cc07fbd0a (patch)
tree175bd4d366fb4d332c5c946679db1e22ee08e001
parent891b0277aff31d717444c39259da2414c1f1b554 (diff)
downloadlibgit2-90a4340aaa52132894d4032c4231f23cc07fbd0a.tar.gz
cygwin also doesn't have qsort_r
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 39858254f..f9d37e4f4 100644
--- a/src/util.c
+++ b/src/util.c
@@ -612,7 +612,7 @@ void git__qsort_r(
#if defined(__MINGW32__) || defined(AMIGA) || \
defined(__OpenBSD__) || defined(__NetBSD__) || \
defined(__gnu_hurd__) || defined(__ANDROID_API__) || \
- defined(__sun) || \
+ defined(__sun) || defined(__CYGWIN__) || \
(__GLIBC__ == 2 && __GLIBC_MINOR__ < 8)
git__insertsort_r(els, nel, elsize, NULL, cmp, payload);
#elif defined(GIT_WIN32)