mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
fix ZTS build without SPL enabled
This commit is contained in:
parent
f8e4467725
commit
5af7f12eb8
1 changed files with 1 additions and 1 deletions
|
@ -1038,7 +1038,7 @@ PHP_MINIT_FUNCTION(sqlite)
|
|||
#if defined(HAVE_SPL) && ((PHP_MAJOR_VERSION > 5) || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 1))
|
||||
REGISTER_SQLITE_CLASS(Exception, exception, spl_ce_RuntimeException);
|
||||
#else
|
||||
REGISTER_SQLITE_CLASS(Exception, exception, zend_exception_get_default());
|
||||
REGISTER_SQLITE_CLASS(Exception, exception, zend_exception_get_default(TSRMLS_C));
|
||||
#endif
|
||||
|
||||
sqlite_ce_db->ce_flags &= ~ZEND_ACC_FINAL_CLASS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue