summaryrefslogtreecommitdiff
path: root/TSRM/tsrm_win32.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-10-15 16:33:40 +0200
committerAnatol Belski <ab@php.net>2014-10-15 16:33:40 +0200
commit8aeffdd74c826b5012c9b052848cfa8e593776ed (patch)
treef1ba84465211d50075c5e3a14e9d7eaf08bd95be /TSRM/tsrm_win32.h
parent991a04b068c0b49ed5022d8da735002c5187031b (diff)
downloadphp-git-8aeffdd74c826b5012c9b052848cfa8e593776ed.tar.gz
moved most of the core to use static tsrm ls cache pointer
plus apache2handler, cli and cgi
Diffstat (limited to 'TSRM/tsrm_win32.h')
-rw-r--r--TSRM/tsrm_win32.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/TSRM/tsrm_win32.h b/TSRM/tsrm_win32.h
index 5933b54ddf..ae96505590 100644
--- a/TSRM/tsrm_win32.h
+++ b/TSRM/tsrm_win32.h
@@ -68,7 +68,8 @@ typedef struct {
} tsrm_win32_globals;
#ifdef ZTS
-# define TWG(v) TSRMG(win32_globals_id, tsrm_win32_globals *, v)
+# define TWG(v) TSRMG_STATIC(win32_globals_id, tsrm_win32_globals *, v)
+TSRMLS_CACHE_EXTERN;
#else
# define TWG(v) (win32_globals.v)
#endif