summaryrefslogtreecommitdiff
path: root/ext/ftp/php_ftp.c
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-05-12 18:02:35 +0200
committerGeorge Peter Banyard <girgias@php.net>2020-05-16 15:31:17 +0200
commit8a18116dbacec661ee3758ee9a556da393072a61 (patch)
tree054c8c091f8e62f24af119cee5ae3fb0405c24af /ext/ftp/php_ftp.c
parentfb5114c675be31e26df823fbf2d678c3035ce3aa (diff)
downloadphp-git-8a18116dbacec661ee3758ee9a556da393072a61.tar.gz
Fix [-Wundef] warning in FTP extension
Diffstat (limited to 'ext/ftp/php_ftp.c')
-rw-r--r--ext/ftp/php_ftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c
index f4030038f1..a5e5f50485 100644
--- a/ext/ftp/php_ftp.c
+++ b/ext/ftp/php_ftp.c
@@ -25,7 +25,7 @@
# include <openssl/ssl.h>
#endif
-#if HAVE_FTP
+#ifdef HAVE_FTP
#include "ext/standard/info.h"
#include "ext/standard/file.h"
@@ -52,7 +52,7 @@ zend_module_entry php_ftp_module_entry = {
STANDARD_MODULE_PROPERTIES
};
-#if COMPILE_DL_FTP
+#ifdef COMPILE_DL_FTP
ZEND_GET_MODULE(php_ftp)
#endif