Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2012-08-26 21:22:34 +0400
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-09-14 04:13:30 +0400
commit3ce22c748511c5b12a8a9731d6b9b2888379bd35 (patch)
treea076764f68663192425034eed816ad2373916430 /src/util.c
parent57ad9f2e7971549916f66d4a5a2b3b316a24d36a (diff)
http: use WinHTTP on Windows
Wondows has its own HTTP library. Use that one when possible instead of our own. As we don't depend on them anymore, remove the http-parser library from the Windows build, as well as the search for OpenSSL.
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 51bf843de..719714105 100644
--- a/src/util.c
+++ b/src/util.c
@@ -28,7 +28,7 @@ int git_libgit2_capabilities()
#ifdef GIT_THREADS
| GIT_CAP_THREADS
#endif
-#ifdef GIT_SSL
+#if defined(GIT_SSL) || defined(GIT_WINHTTP)
| GIT_CAP_HTTPS
#endif
;