summaryrefslogtreecommitdiff
path: root/sapi/apache2handler/sapi_apache2.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-10-15 16:55:47 +0200
committerAnatol Belski <ab@php.net>2014-10-15 16:55:47 +0200
commitaff66a94a631b5711549395bb282f61b6f6f9e49 (patch)
treec420f82a56a8b78390df7e97d9812fa54259cf81 /sapi/apache2handler/sapi_apache2.c
parent8aeffdd74c826b5012c9b052848cfa8e593776ed (diff)
downloadphp-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/apache2handler/sapi_apache2.c')
-rw-r--r--sapi/apache2handler/sapi_apache2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c
index 1234f91051..3b93c74f7a 100644
--- a/sapi/apache2handler/sapi_apache2.c
+++ b/sapi/apache2handler/sapi_apache2.c
@@ -71,7 +71,7 @@
/* A way to specify the location of the php.ini dir in an apache directive */
char *apache2_php_ini_path_override = NULL;
-#ifdef ZTS
+#if defined(PHP_WIN32) && defined(ZTS)
ZEND_TSRMLS_CACHE_DEFINE;
#endif