Changeset 249 for trunk/ext/php

Show
Ignore:
Timestamp:
03/04/2007 09:17:08 (21 months ago)
Author:
indeyets
Message:

one more zts-related fix

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ext/php/phpext.c

    r248 r249  
    2929static zend_class_entry *spl_ce_RuntimeException; 
    3030 
    31 PHP_SYCK_API zend_class_entry *php_syck_get_exception_base(TSRMLS_DC) 
    32 { 
     31PHP_SYCK_API zend_class_entry *php_syck_get_exception_base() 
     32{ 
     33        TSRMLS_FETCH(); 
    3334#if defined(HAVE_SPL) && ((PHP_MAJOR_VERSION > 5) || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 1)) 
    3435        if (!spl_ce_RuntimeException) { 
     
    128129 
    129130        INIT_CLASS_ENTRY(ce, PHP_SYCK_EXCEPTION_NAME, NULL); 
    130         syck_exception_entry = zend_register_internal_class_ex(&ce, php_syck_get_exception_base(TSRMLS_CC), PHP_SYCK_EXCEPTION_PARENT TSRMLS_CC); 
     131        syck_exception_entry = zend_register_internal_class_ex(&ce, php_syck_get_exception_base(), PHP_SYCK_EXCEPTION_PARENT TSRMLS_CC); 
    131132 
    132133/*      le_mergekeyp = zend_register_list_destructors_ex(destroy_MergeKey_resource, NULL, "MergeKey", module_number);