mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +08:00
Fix compile error with theoretically supported versions of libcurl < 7.12.3.
This commit is contained in:
parent
cb5178a450
commit
f8252aa537
2
NEWS
2
NEWS
@ -11,6 +11,8 @@ PHP NEWS
|
||||
|
||||
- cURL:
|
||||
. Fixed bug #66109 (Can't reset CURLOPT_CUSTOMREQUEST to default behaviour) (Tjerk)
|
||||
. Fix compilation on libcurl versions between 7.10.5 and 7.12.2, inclusive.
|
||||
(Adam)
|
||||
|
||||
- GD:
|
||||
. Fixed bug #66714 ( imageconvolution breakage). (Brad Daily)
|
||||
|
@ -3142,6 +3142,7 @@ PHP_FUNCTION(curl_getinfo)
|
||||
}
|
||||
break;
|
||||
}
|
||||
#if LIBCURL_VERSION_NUM >= 0x070c03 /* Available since 7.12.3 */
|
||||
case CURLINFO_SLIST:
|
||||
{
|
||||
struct curl_slist *slist;
|
||||
@ -3157,6 +3158,7 @@ PHP_FUNCTION(curl_getinfo)
|
||||
}
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
default:
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user