summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierrick Charron <pierrick@php.net>2011-11-23 19:36:52 +0000
committerPierrick Charron <pierrick@php.net>2011-11-23 19:36:52 +0000
commit517e28309dcbd40bdc4cb127785853172e64ecdb (patch)
tree70c395bf7867b1dc8e6ec9e53ee204910b240060
parent77025b71e1dcfcdb26b454dfc148c7385d5ca4a2 (diff)
downloadphp-git-517e28309dcbd40bdc4cb127785853172e64ecdb.tar.gz
Fix build for libcurl < 7.20.0
-rw-r--r--ext/curl/interface.c2
1 files changed, 2 insertions, 0 deletions
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";