summaryrefslogtreecommitdiff
path: root/main/SAPI.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-10-15 18:23:41 +0200
committerAnatol Belski <ab@php.net>2014-10-15 18:23:41 +0200
commit2bddd58d32b0eac53d98132f28de24c8688a1a54 (patch)
treee4012d81ac3409d31e664ccae392cf5e2ed070cc /main/SAPI.h
parentaff66a94a631b5711549395bb282f61b6f6f9e49 (diff)
downloadphp-git-2bddd58d32b0eac53d98132f28de24c8688a1a54.tar.gz
move SG to use global tsrmls pointer
Diffstat (limited to 'main/SAPI.h')
-rw-r--r--main/SAPI.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/SAPI.h b/main/SAPI.h
index 79661371d9..c4eb86dea8 100644
--- a/main/SAPI.h
+++ b/main/SAPI.h
@@ -142,7 +142,7 @@ typedef struct _sapi_globals_struct {
BEGIN_EXTERN_C()
#ifdef ZTS
-# define SG(v) TSRMG(sapi_globals_id, sapi_globals_struct *, v)
+# define SG(v) ZEND_TSRMG(sapi_globals_id, sapi_globals_struct *, v)
SAPI_API extern int sapi_globals_id;
#else
# define SG(v) (sapi_globals.v)