File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -968,7 +968,7 @@ static zend_object *php_converter_clone_object(zend_object *object) {
968968/* }}} */
969969
970970/* {{{ php_converter_minit */
971- int php_converter_minit (INIT_FUNC_ARGS) {
971+ U_CFUNC int php_converter_minit (INIT_FUNC_ARGS) {
972972 php_converter_ce = register_class_UConverter ();
973973 php_converter_ce->create_object = php_converter_create_object;
974974 php_converter_ce->default_object_handlers = &php_converter_object_handlers;
Original file line number Diff line number Diff line change 2121
2222#include "php.h"
2323
24- int php_converter_minit (INIT_FUNC_ARGS );
24+ U_CFUNC int php_converter_minit (INIT_FUNC_ARGS );
2525
2626#endif /* PHP_INTL_CONVERTER_H */
Original file line number Diff line number Diff line change @@ -156,10 +156,12 @@ zend_module_entry intl_module_entry = {
156156/* }}} */
157157
158158#ifdef COMPILE_DL_INTL
159+ BEGIN_EXTERN_C ()
159160#ifdef ZTS
160- ZEND_TSRMLS_CACHE_DEFINE ()
161+ ZEND_TSRMLS_CACHE_DEFINE ()
161162#endif
162- ZEND_GET_MODULE ( intl )
163+ ZEND_GET_MODULE ( intl )
164+ END_EXTERN_C()
163165#endif
164166
165167/* {{{ intl_init_globals */
You can’t perform that action at this time.
0 commit comments