Skip to content

Commit cf72b81

Browse files
committed
- Fixed bug #48893 (Problems compiling with Curl)
1 parent 6147389 commit cf72b81

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/curl/interface.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -781,6 +781,9 @@ PHP_MINIT_FUNCTION(curl)
781781

782782
#if LIBCURL_VERSION_NUM >= 0x070f01
783783
REGISTER_CURL_CONSTANT(CURLOPT_FTP_FILEMETHOD);
784+
#endif
785+
786+
#if LIBCURL_VERSION_NUM >= 0x071001
784787
REGISTER_CURL_CONSTANT(CURLFTPMETHOD_MULTICWD);
785788
REGISTER_CURL_CONSTANT(CURLFTPMETHOD_NOCWD);
786789
REGISTER_CURL_CONSTANT(CURLFTPMETHOD_SINGLECWD);

0 commit comments

Comments
 (0)