diff options
author | Anatol Belski <ab@php.net> | 2014-10-15 16:55:47 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-10-15 16:55:47 +0200 |
commit | aff66a94a631b5711549395bb282f61b6f6f9e49 (patch) | |
tree | c420f82a56a8b78390df7e97d9812fa54259cf81 /sapi/cli/php_cli.c | |
parent | 8aeffdd74c826b5012c9b052848cfa8e593776ed (diff) | |
download | php-git-aff66a94a631b5711549395bb282f61b6f6f9e49.tar.gz |
don't define tsrm ls in SAPIs under linux
as it's compiled statically with the core
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index f1dab46086..723decf065 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -99,7 +99,7 @@ PHPAPI extern char *php_ini_opened_path; PHPAPI extern char *php_ini_scanned_path; PHPAPI extern char *php_ini_scanned_files; -#ifdef ZTS +#if defined(PHP_WIN32) && defined(ZTS) ZEND_TSRMLS_CACHE_DEFINE; #endif |