Skip to content

Commit 51465c2

Browse files
committed
debug
1 parent 6b16ada commit 51465c2

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

ext/intl/php_intl.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@ zend_module_entry intl_module_entry = {
157157

158158
#ifdef COMPILE_DL_INTL
159159
#ifdef ZTS
160+
extern "C" {
160161
ZEND_TSRMLS_CACHE_DEFINE()
162+
}
161163
#endif
162164
ZEND_GET_MODULE( intl )
163165
#endif

ext/intl/php_intl.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ ZEND_BEGIN_MODULE_GLOBALS(intl)
4949
ZEND_END_MODULE_GLOBALS(intl)
5050

5151
#if defined(ZTS) && defined(COMPILE_DL_INTL)
52+
extern "C" {
5253
ZEND_TSRMLS_CACHE_EXTERN()
54+
}
5355
#endif
5456

5557
ZEND_EXTERN_MODULE_GLOBALS(intl)

0 commit comments

Comments
 (0)