svn: /php/php-src/trunk/ext/curl/ interface.c
| From: | Pierrick Charron | Date: | Wed, 23 Nov 2011 19:36:52 +0000 |
| Subject: | svn: /php/php-src/trunk/ext/curl/ interface.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-67121@lists.php.net to get a copy of this message | ||
pierrick Wed, 23 Nov 2011 19:36:52 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=319724
Log:
Fix build for libcurl < 7.20.0
Changed paths:
U php/php-src/trunk/ext/curl/interface.c
Modified: php/php-src/trunk/ext/curl/interface.c
===================================================================
--- php/php-src/trunk/ext/curl/interface.c 2011-11-23 18:46:03 UTC (rev 319723)
+++ php/php-src/trunk/ext/curl/interface.c 2011-11-23 19:36:52 UTC (rev 319724)
@@ -2328,9 +2328,11 @@
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";