From: Michael Wallner Date: Tue, 22 Feb 2005 12:00:47 +0000 (+0000) Subject: * more version checks X-Git-Tag: RELEASE_0_5_1~7 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=9587eb641bdc4f67d95c89249d0c4adf67d97c18;ds=inline * more version checks --- diff --git a/http_api.c b/http_api.c index 42b3828..8b80c4d 100644 --- a/http_api.c +++ b/http_api.c @@ -435,7 +435,7 @@ static inline void _http_curl_setopts(CURL *ch, const char *url, HashTable *opti curl_easy_setopt(ch, CURLOPT_AUTOREFERER, 1); curl_easy_setopt(ch, CURLOPT_WRITEFUNCTION, http_curl_body_callback); curl_easy_setopt(ch, CURLOPT_HEADERFUNCTION, http_curl_hdrs_callback); -#ifdef ZTS +#if defined(ZTS) && (LIBCURL_VERSION_NUM >= 0x070a00) curl_easy_setopt(ch, CURLOPT_NOSIGNAL, 1); #endif