From: Felipe Pena Date: Fri, 17 Jul 2009 00:24:20 +0000 (+0000) Subject: - Fixed bug #48893 (Problems compiling with Curl) X-Git-Tag: php-5.4.0alpha1~191^2~3090 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf72b814795d21bab4b455b917a8934d95a8e3d8;p=php - Fixed bug #48893 (Problems compiling with Curl) --- diff --git a/ext/curl/interface.c b/ext/curl/interface.c index ef4c314332..d07c90814b 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -781,6 +781,9 @@ PHP_MINIT_FUNCTION(curl) #if LIBCURL_VERSION_NUM >= 0x070f01 REGISTER_CURL_CONSTANT(CURLOPT_FTP_FILEMETHOD); +#endif + +#if LIBCURL_VERSION_NUM >= 0x071001 REGISTER_CURL_CONSTANT(CURLFTPMETHOD_MULTICWD); REGISTER_CURL_CONSTANT(CURLFTPMETHOD_NOCWD); REGISTER_CURL_CONSTANT(CURLFTPMETHOD_SINGLECWD);