File tree 3 files changed +4
-2
lines changed
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 71
71
72
72
/* A way to specify the location of the php.ini dir in an apache directive */
73
73
char * apache2_php_ini_path_override = NULL ;
74
- #ifdef ZTS
74
+ #if defined( PHP_WIN32 ) && defined( ZTS )
75
75
ZEND_TSRMLS_CACHE_DEFINE ;
76
76
#endif
77
77
Original file line number Diff line number Diff line change @@ -199,7 +199,9 @@ static void user_config_cache_entry_dtor(zval *el)
199
199
#ifdef ZTS
200
200
static int php_cgi_globals_id ;
201
201
#define CGIG (v ) ZEND_TSRMG(php_cgi_globals_id, php_cgi_globals_struct *, v)
202
+ #if defined(PHP_WIN32 )
202
203
ZEND_TSRMLS_CACHE_DEFINE ;
204
+ #endif
203
205
#else
204
206
static php_cgi_globals_struct php_cgi_globals ;
205
207
#define CGIG (v ) (php_cgi_globals.v)
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ PHPAPI extern char *php_ini_opened_path;
99
99
PHPAPI extern char * php_ini_scanned_path ;
100
100
PHPAPI extern char * php_ini_scanned_files ;
101
101
102
- #ifdef ZTS
102
+ #if defined( PHP_WIN32 ) && defined( ZTS )
103
103
ZEND_TSRMLS_CACHE_DEFINE ;
104
104
#endif
105
105
You can’t perform that action at this time.
0 commit comments