summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-02-16 17:19:32 +0100
committerAnatol Belski <ab@php.net>2015-02-16 17:19:32 +0100
commitaf3ca74501c5d0be273e47c618d37b8ddcbb5c7f (patch)
tree6ad9fe0b05af39d94aecfa61a45e71b828f86fb9 /sapi/cli/php_cli.c
parent812c0c0337960449c517a74f4feaefb1109a6ff7 (diff)
downloadphp-git-af3ca74501c5d0be273e47c618d37b8ddcbb5c7f.tar.gz
made ZEND_TSRMLS_CACHE_* macros look like function calls
which also comply with the current semantics for such macros
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r--sapi/cli/php_cli.c4
1 files changed, 2 insertions, 2 deletions
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