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:
Kevin Ruland 2006-02-16 21:28:08 +00:00
commit dbe982a838

View file

@ -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;
}