summaryrefslogtreecommitdiff
path: root/Zend/zend_globals_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_globals_macros.h')
-rw-r--r--Zend/zend_globals_macros.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/Zend/zend_globals_macros.h b/Zend/zend_globals_macros.h
index eb783160eb..fbb4e71995 100644
--- a/Zend/zend_globals_macros.h
+++ b/Zend/zend_globals_macros.h
@@ -50,19 +50,9 @@ int zendparse(void);
/* Executor */
#ifdef ZTS
-# define ELS_D zend_executor_globals *executor_globals
-# define ELS_DC , ELS_D
-# define ELS_C executor_globals
-# define ELS_CC , ELS_C
-# define EG(v) (executor_globals->v)
-# define ELS_FETCH() zend_executor_globals *executor_globals = (zend_executor_globals *) ts_resource(executor_globals_id)
+# define EG(v) TSRMG(executor_globals_id, zend_executor_globals *, v)
#else
-# define ELS_D void
-# define ELS_DC
-# define ELS_C
-# define ELS_CC
# define EG(v) (executor_globals.v)
-# define ELS_FETCH()
extern ZEND_API zend_executor_globals executor_globals;
#endif