From 161fd757731d788bde09ea611a1c1538ffea6494 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 19 Dec 2017 23:16:06 +0100 Subject: Bump libcurl requirement to 7.12.1 The existence of the following functions is now guaranteed: * curl_reset() * curl_strerror() * curl_multi_strerror() * curl_share_strerror() libcurl 7.12.1 has been released more than 13 years ago and is available even in RHEL 4. --- ext/curl/php_curl.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ext/curl/php_curl.h') diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h index ba0d7b0aef..616ad41eab 100644 --- a/ext/curl/php_curl.h +++ b/ext/curl/php_curl.h @@ -99,15 +99,11 @@ PHP_FUNCTION(curl_share_init); PHP_FUNCTION(curl_share_setopt); PHP_FUNCTION(curl_share_errno); -#if LIBCURL_VERSION_NUM >= 0x070c00 /* 7.12.0 */ PHP_FUNCTION(curl_strerror); PHP_FUNCTION(curl_multi_strerror); PHP_FUNCTION(curl_share_strerror); -#endif -#if LIBCURL_VERSION_NUM >= 0x070c01 /* 7.12.1 */ PHP_FUNCTION(curl_reset); -#endif #if LIBCURL_VERSION_NUM >= 0x070f04 /* 7.15.4 */ PHP_FUNCTION(curl_escape); -- cgit v1.2.1