diff options
Diffstat (limited to 'ext/ftp/php_ftp.c')
-rw-r--r-- | ext/ftp/php_ftp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c index bc546732f6..94a0c8bc5f 100644 --- a/ext/ftp/php_ftp.c +++ b/ext/ftp/php_ftp.c @@ -35,7 +35,7 @@ #endif #endif -#if HAVE_OPENSSL_EXT +#ifdef HAVE_OPENSSL_EXT #include <openssl/ssl.h> #endif @@ -52,7 +52,7 @@ static int le_ftpbuf; function_entry php_ftp_functions[] = { PHP_FE(ftp_connect, NULL) -#if HAVE_OPENSSL_EXT +#ifdef HAVE_OPENSSL_EXT PHP_FE(ftp_ssl_connect, NULL) #endif PHP_FE(ftp_login, NULL) @@ -171,7 +171,7 @@ PHP_FUNCTION(ftp_connect) /* autoseek for resuming */ ftp->autoseek = FTP_DEFAULT_AUTOSEEK; -#if HAVE_OPENSSL_EXT +#ifdef HAVE_OPENSSL_EXT /* disable ssl */ ftp->use_ssl = 0; #endif @@ -180,7 +180,7 @@ PHP_FUNCTION(ftp_connect) } /* }}} */ -#if HAVE_OPENSSL_EXT +#ifdef HAVE_OPENSSL_EXT /* {{{ proto resource ftp_ssl_connect(string host [, int port [, int timeout)]]) Opens a FTP-SSL stream */ PHP_FUNCTION(ftp_ssl_connect) |