diff options
| author | Wez Furlong <wez@php.net> | 2005-08-12 23:32:31 +0000 |
|---|---|---|
| committer | Wez Furlong <wez@php.net> | 2005-08-12 23:32:31 +0000 |
| commit | f6276a2b8ac455c0b03c5f0625c5a56ad6296bda (patch) | |
| tree | d6273d69b9062b5f1f8efcac0e8e63dcf8636413 /ext/pdo/pdo.c | |
| parent | 6bd0350af8a749fb64ebef366edd7b86c1ce494c (diff) | |
| download | php-git-f6276a2b8ac455c0b03c5f0625c5a56ad6296bda.tar.gz | |
zts fixes
Diffstat (limited to 'ext/pdo/pdo.c')
| -rwxr-xr-x | ext/pdo/pdo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo/pdo.c b/ext/pdo/pdo.c index c80f0602ed..faf2d5e150 100755 --- a/ext/pdo/pdo.c +++ b/ext/pdo/pdo.c @@ -55,7 +55,7 @@ int php_pdo_list_entry(void) /* for exceptional circumstances */ zend_class_entry *pdo_exception_ce; -PDO_API zend_class_entry *php_pdo_get_exception(void) +PDO_API zend_class_entry *php_pdo_get_exception(TSRMLS_D) { return U_CLASS_ENTRY(pdo_exception_ce); } @@ -381,7 +381,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(), NULL TSRMLS_CC); + pdo_exception_ce = zend_register_internal_class_ex(&ce, zend_exception_get_default(TSRMLS_C), NULL TSRMLS_CC); #endif zend_declare_property_null(pdo_exception_ce, "errorInfo", sizeof("errorInfo")-1, ZEND_ACC_PUBLIC TSRMLS_CC); |
