X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http.h;h=324fcf4f5482dc67c3f68df0be30fb0aa210401e;hb=e27e609bbf81271318d99f2643f378f3fde6c6c6;hp=9ca16acec25e3925c36bbade09b2cb7b4aa07842;hpb=a549e11cc2fee10ddf66dd98ea79f7c624eee34e;p=git.git diff --git a/http.h b/http.h index 9ca16acec..324fcf4f5 100644 --- a/http.h +++ b/http.h @@ -18,10 +18,14 @@ #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 +#if LIBCURL_VERSION_NUM < 0x070a03 +#define CURLE_HTTP_RETURNED_ERROR CURLE_HTTP_NOT_FOUND +#endif + struct slot_results { CURLcode curl_result;