X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=http.h;h=69b6b667d956933eca7153b51867493d7271df0b;hb=20f1eb6b46645115695329a371d412eb3e714865;hp=6e12e416889503553ae502be31b2e9ed9e7dc4dd;hpb=f5961572a02ef08324f297fe93b704ff2137e5a6;p=git.git diff --git a/http.h b/http.h index 6e12e4168..69b6b667d 100644 --- a/http.h +++ b/http.h @@ -6,7 +6,7 @@ #include #include -#if LIBCURL_VERSION_NUM >= 0x070908 +#if LIBCURL_VERSION_NUM >= 0x071000 #define USE_CURL_MULTI #define DEFAULT_MAX_REQUESTS 5 #endif @@ -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