From: Pierrick Charron Date: Wed, 23 Nov 2011 19:36:52 +0000 (+0000) Subject: Fix build for libcurl < 7.20.0 X-Git-Tag: php-5.5.0alpha1~826 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=517e28309dcbd40bdc4cb127785853172e64ecdb;p=php Fix build for libcurl < 7.20.0 --- diff --git a/ext/curl/interface.c b/ext/curl/interface.c index 49adcd7daf..176a7fea92 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -2328,9 +2328,11 @@ string_copy: case CURLOPT_PREQUOTE: name = "CURLOPT_PREQUOTE"; break; +#if LIBCURL_VERSION_NUM >= 0x071400 /* Available since 7.20.0 */ case CURLOPT_MAIL_RCPT: name = "CURLOPT_MAIL_RCPT"; break; +#endif #if LIBCURL_VERSION_NUM >= 0x071503 /* Available since 7.21.3 */ case CURLOPT_RESOLVE: name = "CURLOPT_RESOLVE";