From 963edd9bff9f2ae008a99e92e17b46f42fe40641 Mon Sep 17 00:00:00 2001 From: Alessandro Ghedini Date: Tue, 19 Nov 2013 17:58:58 +0100 Subject: util: NetBSD doesn't have qsort_r either --- src/util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/util.c') diff --git a/src/util.c b/src/util.c index 162ed6f70..47516a8f7 100644 --- a/src/util.c +++ b/src/util.c @@ -726,7 +726,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(AMIGA) || \ + defined(__OpenBSD__) || defined(__NetBSD__) || \ defined(__gnu_hurd__) || defined(__ANDROID_API__) || \ (__GLIBC__ == 2 && __GLIBC_MINOR__ < 8) git__insertsort_r(els, nel, elsize, NULL, cmp, payload); -- cgit v1.2.1