Merge branch 'jc/curl'
authorJunio C Hamano <junkio@cox.net>
Fri, 29 Dec 2006 19:36:21 +0000 (11:36 -0800)
committerJunio C Hamano <junkio@cox.net>
Fri, 29 Dec 2006 19:36:21 +0000 (11:36 -0800)
* jc/curl:
Work around http-fetch built with cURL 7.16.0

http.h
diff --git a/http.h b/http.h
index 6e12e416889503553ae502be31b2e9ed9e7dc4dd..324fcf4f5482dc67c3f68df0be30fb0aa210401e 100644 (file)
--- a/http.h
+++ b/http.h
@@ -18,7 +18,7 @@
 #define curl_global_init(a) do { /* nothing */ } while(0)
 #endif
 
-#if LIBCURL_VERSION_NUM < 0x070c04
+#if (LIBCURL_VERSION_NUM < 0x070c04) || (LIBCURL_VERSION_NUM == 0x071000)
 #define NO_CURL_EASY_DUPHANDLE
 #endif