diff options
Diffstat (limited to 'ext/mbstring/mbstring.h')
-rw-r--r-- | ext/mbstring/mbstring.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/ext/mbstring/mbstring.h b/ext/mbstring/mbstring.h index af15a30f75..561efeb422 100644 --- a/ext/mbstring/mbstring.h +++ b/ext/mbstring/mbstring.h @@ -39,15 +39,13 @@ # define MBSTRING_API /* nothing special */ #endif -#ifdef HAVE_MBSTRING - #include "libmbfl/mbfl/mbfilter.h" #include "SAPI.h" #define PHP_MBSTRING_API 20021024 extern zend_module_entry mbstring_module_entry; -#define mbstring_module_ptr &mbstring_module_entry +#define phpext_mbstring_ptr &mbstring_module_entry PHP_MINIT_FUNCTION(mbstring); PHP_MSHUTDOWN_FUNCTION(mbstring); @@ -123,12 +121,4 @@ ZEND_END_MODULE_GLOBALS(mbstring) ZEND_TSRMLS_CACHE_EXTERN() #endif -#else /* HAVE_MBSTRING */ - -#define mbstring_module_ptr NULL - -#endif /* HAVE_MBSTRING */ - -#define phpext_mbstring_ptr mbstring_module_ptr - -#endif /* _MBSTRING_H */ +#endif /* _MBSTRING_H */ |