summaryrefslogtreecommitdiff
path: root/ext/vpopmail/php_vpopmail.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/vpopmail/php_vpopmail.h')
-rw-r--r--ext/vpopmail/php_vpopmail.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/vpopmail/php_vpopmail.h b/ext/vpopmail/php_vpopmail.h
index 10c1b7c8cf..cb96bd3f8d 100644
--- a/ext/vpopmail/php_vpopmail.h
+++ b/ext/vpopmail/php_vpopmail.h
@@ -75,11 +75,9 @@ ZEND_BEGIN_MODULE_GLOBALS(vpopmail)
ZEND_END_MODULE_GLOBALS(vpopmail)
#ifdef ZTS
-#define VPOPMAILG(v) (vpopmail_globals->v)
-#define VPOPMAILLS_FETCH() php_vpopmail_globals *vpopmail_globals = ts_resource(gd_vpopmail_id)
+#define VPOPMAILG(v) TSRMG(gd_vpopmail_id, php_vpopmail_globals *, v)
#else
#define VPOPMAILG(v) (vpopmail_globals.v)
-#define VPOPMAILLS_FETCH()
#endif
#else