]> granicus.if.org Git - php/commitdiff
- Fix building with 5.0
authorMarcus Boerger <helly@php.net>
Mon, 19 Sep 2005 18:05:00 +0000 (18:05 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 19 Sep 2005 18:05:00 +0000 (18:05 +0000)
ext/pdo/pdo.c

index fd800ad765c36f49a45fd254d28bdf7d25c3fa5a..1a92d504a32a48182a1793f1c23ea41355383143 100755 (executable)
@@ -389,7 +389,7 @@ PHP_MINIT_FUNCTION(pdo)
 #if can_handle_soft_dependency_on_SPL && defined(HAVE_SPL) && ((PHP_MAJOR_VERSION > 5) || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 1))
        pdo_exception_ce = zend_register_internal_class_ex(&ce, spl_ce_RuntimeException, NULL TSRMLS_CC);
 #else
-       pdo_exception_ce = zend_register_internal_class_ex(&ce, zend_exception_get_default(TSRMLS_C), NULL TSRMLS_CC);
+       pdo_exception_ce = zend_register_internal_class_ex(&ce, zend_exception_get_default(), NULL TSRMLS_CC);
 #endif
        zend_declare_property_null(pdo_exception_ce, "errorInfo", sizeof("errorInfo")-1, ZEND_ACC_PUBLIC TSRMLS_CC);