From aff66a94a631b5711549395bb282f61b6f6f9e49 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Wed, 15 Oct 2014 16:55:47 +0200 Subject: don't define tsrm ls in SAPIs under linux as it's compiled statically with the core --- sapi/cli/php_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/cli/php_cli.c') 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 -- cgit v1.2.1