diff options
author | Vicent Marti <vicent@github.com> | 2014-07-11 16:51:43 +0200 |
---|---|---|
committer | Vicent Marti <vicent@github.com> | 2014-07-11 16:51:43 +0200 |
commit | a6d7e166344cb0d9aa5ecca037a975f9f19e64f1 (patch) | |
tree | 9b168cabda8547388d976c793e38e3e25fe2411f /src/util.c | |
parent | 44cfb6f387555722e84b0997ecff4718b40dd23f (diff) | |
parent | 59ceb432f310de9f26b368ae1b8cdee395e52a50 (diff) | |
download | libgit2-a6d7e166344cb0d9aa5ecca037a975f9f19e64f1.tar.gz |
Merge pull request #2466 from jacquesg/win2003-platform-sdk
Windows compatibility fixes
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c index f9d37e4f4..5c305950f 100644 --- a/src/util.c +++ b/src/util.c @@ -613,7 +613,8 @@ void git__qsort_r( defined(__OpenBSD__) || defined(__NetBSD__) || \ defined(__gnu_hurd__) || defined(__ANDROID_API__) || \ defined(__sun) || defined(__CYGWIN__) || \ - (__GLIBC__ == 2 && __GLIBC_MINOR__ < 8) + (__GLIBC__ == 2 && __GLIBC_MINOR__ < 8) || \ + (defined(_MSC_VER) && _MSC_VER < 1500) git__insertsort_r(els, nel, elsize, NULL, cmp, payload); #elif defined(GIT_WIN32) git__qsort_r_glue glue = { cmp, payload }; |