diff options
Diffstat (limited to 'ext/ftp/php_ftp.h')
| -rw-r--r-- | ext/ftp/php_ftp.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/ext/ftp/php_ftp.h b/ext/ftp/php_ftp.h index 60eba04adf..ac0bef5fd7 100644 --- a/ext/ftp/php_ftp.h +++ b/ext/ftp/php_ftp.h @@ -18,10 +18,8 @@ #ifndef _INCLUDED_FTP_H #define _INCLUDED_FTP_H -#ifdef HAVE_FTP - extern zend_module_entry php_ftp_module_entry; -#define php_ftp_module_ptr &php_ftp_module_entry +#define phpext_ftp_ptr &php_ftp_module_entry #include "php_version.h" #define PHP_FTP_VERSION PHP_VERSION @@ -34,10 +32,4 @@ extern zend_module_entry php_ftp_module_entry; PHP_MINIT_FUNCTION(ftp); PHP_MINFO_FUNCTION(ftp); -#define phpext_ftp_ptr php_ftp_module_ptr - -#else -#define php_ftp_module_ptr NULL -#endif /* HAVE_FTP */ - #endif |
