diff options
Diffstat (limited to 'ext/pgsql')
-rw-r--r-- | ext/pgsql/pgsql.c | 4 | ||||
-rw-r--r-- | ext/pgsql/php_pgsql.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index e27bd22eca..f0e4532237 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -773,7 +773,7 @@ zend_module_entry pgsql_module_entry = { #ifdef COMPILE_DL_PGSQL #ifdef ZTS -ZEND_TSRMLS_CACHE_DEFINE; +ZEND_TSRMLS_CACHE_DEFINE(); #endif ZEND_GET_MODULE(pgsql) #endif @@ -1093,7 +1093,7 @@ PHP_INI_END() static PHP_GINIT_FUNCTION(pgsql) { #if defined(COMPILE_DL_PGSQL) && defined(ZTS) - ZEND_TSRMLS_CACHE_UPDATE; + ZEND_TSRMLS_CACHE_UPDATE(); #endif memset(pgsql_globals, 0, sizeof(zend_pgsql_globals)); /* Initilize notice message hash at MINIT only */ diff --git a/ext/pgsql/php_pgsql.h b/ext/pgsql/php_pgsql.h index cde0154a72..3e5fcbe851 100644 --- a/ext/pgsql/php_pgsql.h +++ b/ext/pgsql/php_pgsql.h @@ -324,7 +324,7 @@ ZEND_EXTERN_MODULE_GLOBALS(pgsql) #ifdef ZTS # define PGG(v) ZEND_TSRMG(pgsql_globals_id, zend_pgsql_globals *, v) # ifdef COMPILE_DL_PGSQL -ZEND_TSRMLS_CACHE_EXTERN; +ZEND_TSRMLS_CACHE_EXTERN(); # endif #else # define PGG(v) (pgsql_globals.v) |