diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2013-04-15 20:00:42 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-04-15 20:00:42 +0200 |
commit | 872ca1d302c571d47d9685179cbc6af84130f703 (patch) | |
tree | ef299d2a6a57377d36dd52d76cc46ff00fe5d312 /src/util.c | |
parent | 2d2260da41ddf22fd5c5f0c39ce16fad1548f29e (diff) | |
download | libgit2-872ca1d302c571d47d9685179cbc6af84130f703.tar.gz |
Fix compilation on OpenBSD
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c index 44ac1af73..8e83d298e 100644 --- a/src/util.c +++ b/src/util.c @@ -672,7 +672,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__) +#if defined(__MINGW32__) || defined(__OpenBSD__) git__insertsort_r(els, nel, elsize, NULL, cmp, payload); #elif defined(GIT_WIN32) git__qsort_r_glue glue = { cmp, payload }; |