]> granicus.if.org Git - php/commitdiff
Give HAVE_FTP meaning on Win32.
authorSebastian Bergmann <sebastian@php.net>
Wed, 17 Apr 2002 17:38:03 +0000 (17:38 +0000)
committerSebastian Bergmann <sebastian@php.net>
Wed, 17 Apr 2002 17:38:03 +0000 (17:38 +0000)
main/internal_functions_win32.c

index 23f4644d065aac6a99724731bf61eb5736ba386e..26d8b9128048ac0213406c8089a045534a607961 100644 (file)
@@ -49,7 +49,9 @@
 #include "ext/standard/php_assert.h"
 #include "ext/calendar/php_calendar.h"
 #include "ext/com/php_COM.h"
+#if HAVE_FTP
 #include "ext/ftp/php_ftp.h"
+#endif
 #include "ext/standard/reg.h"
 #include "ext/pcre/php_pcre.h"
 #include "ext/odbc/php_odbc.h"
@@ -73,7 +75,9 @@ zend_module_entry *php_builtin_extensions[] = {
 #endif
        phpext_calendar_ptr,
        phpext_com_ptr,
+#if HAVE_FTP
        phpext_ftp_ptr,
+#endif
 #if defined(MBSTR_ENC_TRANS)
        phpext_mbstring_ptr,
 #endif