summaryrefslogtreecommitdiff
path: root/Zend/zend_virtual_cwd.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-10-01 22:04:21 +0200
committerAnatol Belski <ab@php.net>2014-10-01 22:04:21 +0200
commit76081df168829a5cc0409fac47c217d4927ec6f6 (patch)
tree9d17ebf69a2c193ca318619aae24e821d9ef5634 /Zend/zend_virtual_cwd.h
parentc161b95cdfbd45bd90c0327d29e1c967a4152c28 (diff)
downloadphp-git-76081df168829a5cc0409fac47c217d4927ec6f6.tar.gz
using pointer to the tsrm ls cache instead of a function call
yet another approach
Diffstat (limited to 'Zend/zend_virtual_cwd.h')
-rw-r--r--Zend/zend_virtual_cwd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_virtual_cwd.h b/Zend/zend_virtual_cwd.h
index f40a2deb7e..34caaff040 100644
--- a/Zend/zend_virtual_cwd.h
+++ b/Zend/zend_virtual_cwd.h
@@ -237,7 +237,7 @@ typedef struct _virtual_cwd_globals {
#ifdef ZTS
extern ts_rsrc_id cwd_globals_id;
-# define CWDG(v) TSRMG(cwd_globals_id, virtual_cwd_globals *, v)
+# define CWDG(v) ZEND_TSRMG(cwd_globals_id, virtual_cwd_globals *, v)
#else
extern virtual_cwd_globals cwd_globals;
# define CWDG(v) (cwd_globals.v)