]> granicus.if.org Git - php/commitdiff
fix TSRM build
authorAntony Dovgal <tony2001@php.net>
Wed, 12 Jul 2006 09:33:37 +0000 (09:33 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 12 Jul 2006 09:33:37 +0000 (09:33 +0000)
ext/mysqli/mysqli.c

index 474211be4681ac7bac3e30048219b903753999c9..65300d86820a167de74c3fbc0cf8db672f3fd9df 100644 (file)
@@ -495,7 +495,7 @@ PHP_MINIT_FUNCTION(mysqli)
 #ifdef HAVE_SPL
        mysqli_exception_class_entry = zend_register_internal_class_ex(&cex, spl_ce_RuntimeException, NULL TSRMLS_CC);
 #else
-       mysqli_exception_class_entry = zend_register_internal_class_ex(&cex, zend_exception_get_default(), NULL TSRMLS_CC);
+       mysqli_exception_class_entry = zend_register_internal_class_ex(&cex, zend_exception_get_default(TSRMLS_C), NULL TSRMLS_CC);
 #endif
        mysqli_exception_class_entry->ce_flags |= ZEND_ACC_FINAL;
        zend_declare_property_long(mysqli_exception_class_entry, "code", sizeof("code")-1, 0, ZEND_ACC_PROTECTED TSRMLS_CC);