From af3ca74501c5d0be273e47c618d37b8ddcbb5c7f Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 16 Feb 2015 17:19:32 +0100 Subject: made ZEND_TSRMLS_CACHE_* macros look like function calls which also comply with the current semantics for such macros --- sapi/cli/php_cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sapi/cli/php_cli.c') diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index e92d95d694..4f3351726a 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -100,7 +100,7 @@ PHPAPI extern char *php_ini_scanned_path; PHPAPI extern char *php_ini_scanned_files; #if defined(PHP_WIN32) && defined(ZTS) -ZEND_TSRMLS_CACHE_DEFINE; +ZEND_TSRMLS_CACHE_DEFINE(); #endif #ifndef O_BINARY @@ -1234,7 +1234,7 @@ int main(int argc, char *argv[]) #ifdef ZTS tsrm_startup(1, 1, 0, NULL); (void)ts_resource(0); - ZEND_TSRMLS_CACHE_UPDATE; + ZEND_TSRMLS_CACHE_UPDATE(); #endif #ifdef PHP_WIN32 -- cgit v1.2.1