* more version checks
authorMichael Wallner <mike@php.net>
Tue, 22 Feb 2005 12:00:47 +0000 (12:00 +0000)
committerMichael Wallner <mike@php.net>
Tue, 22 Feb 2005 12:00:47 +0000 (12:00 +0000)
http_api.c

index 42b382807491cb545b505feabb8a81f0e4897bf5..8b80c4df33cd6f2e8fa7735ca5aef027387d4406 100644 (file)
@@ -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