From 9587eb641bdc4f67d95c89249d0c4adf67d97c18 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 22 Feb 2005 12:00:47 +0000 Subject: [PATCH] * more version checks --- http_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2