Fix PHP compilation error in ZTS mode (64 bit windows) due to TSRMLS_FETCH() expansion
Conflicts: CHANGES.current
This commit is contained in:
parent
78f92962e2
commit
c569210dd5
2 changed files with 5 additions and 2 deletions
|
|
@ -5,6 +5,10 @@ See the RELEASENOTES file for a summary of changes in each release.
|
||||||
Version 2.0.12 (9 Feb 2014)
|
Version 2.0.12 (9 Feb 2014)
|
||||||
===========================
|
===========================
|
||||||
|
|
||||||
|
2014-01-16: wsfulton
|
||||||
|
[PHP] Fix compilation error in ZTS mode (64 bit windows) due to incorrect placement
|
||||||
|
of TSRMLS_FETCH() in SWIG_Php_GetModule() as reported by Mark Dawson-Butterworth.
|
||||||
|
|
||||||
2014-01-13: kwwette
|
2014-01-13: kwwette
|
||||||
[Octave] update support to Octave version 3.8.0
|
[Octave] update support to Octave version 3.8.0
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -255,11 +255,10 @@ static char const_name[] = "swig_runtime_data_type_pointer";
|
||||||
static swig_module_info *SWIG_Php_GetModule(void *SWIGUNUSEDPARM(clientdata)) {
|
static swig_module_info *SWIG_Php_GetModule(void *SWIGUNUSEDPARM(clientdata)) {
|
||||||
zval *pointer;
|
zval *pointer;
|
||||||
swig_module_info *ret = 0;
|
swig_module_info *ret = 0;
|
||||||
|
TSRMLS_FETCH();
|
||||||
|
|
||||||
MAKE_STD_ZVAL(pointer);
|
MAKE_STD_ZVAL(pointer);
|
||||||
|
|
||||||
TSRMLS_FETCH();
|
|
||||||
|
|
||||||
if (zend_get_constant(const_name, sizeof(const_name) - 1, pointer TSRMLS_CC)) {
|
if (zend_get_constant(const_name, sizeof(const_name) - 1, pointer TSRMLS_CC)) {
|
||||||
if (pointer->type == IS_LONG) {
|
if (pointer->type == IS_LONG) {
|
||||||
ret = (swig_module_info *) pointer->value.lval;
|
ret = (swig_module_info *) pointer->value.lval;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue