Skip to content

Commit d3c0e03

Browse files
committed
update
1 parent 2c92120 commit d3c0e03

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

7/conf.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ ZEND_END_MODULE_GLOBALS(mytest)
199199
//自定义on_modify函数
200200
ZEND_API ZEND_INI_MH(OnUpdateAddArray);
201201
```
202-
```
202+
```c
203203
//mytest.c
204204
ZEND_DECLARE_MODULE_GLOBALS(mytest)
205205
@@ -246,6 +246,11 @@ zend_module_entry mytest_module_entry = {
246246
STANDARD_MODULE_PROPERTIES
247247
};
248248
249+
#ifdef COMPILE_DL_TIMEOUT
250+
#ifdef ZTS
251+
ZEND_TSRMLS_CACHE_DEFINE()
252+
#endif
249253
ZEND_GET_MODULE(mytest)
254+
#endif
250255
```
251256

0 commit comments

Comments
 (0)