Skip to content

Commit 656441b

Browse files
committed
fix windows build attempt
1 parent c2cc7d3 commit 656441b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ext/intl/php_intl.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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 */

0 commit comments

Comments
 (0)