Added TSRMLS_CC to get_constant call.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8826 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5236d3ddf3
commit
dbe982a838
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ static swig_module_info *SWIG_Php4_GetModule() {
|
|||
|
||||
MAKE_STD_ZVAL(pointer);
|
||||
|
||||
if (zend_get_constant(const_name, sizeof(const_name), pointer)) {
|
||||
if (zend_get_constant(const_name, sizeof(const_name), pointer TSRMLS_CC)) {
|
||||
if (pointer->type == IS_LONG) {
|
||||
ret = (swig_module_info *) pointer->value.lval;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue