summaryrefslogtreecommitdiff
path: root/ext/mailparse/php_mailparse.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-28 11:36:37 +0000
committerZeev Suraski <zeev@php.net>2001-07-28 11:36:37 +0000
commitd87cc976e1156b839fc6d4aa6b473a126802b8e3 (patch)
tree8acb068dd7458e1c8df3a7d8ecb87d065990fdb1 /ext/mailparse/php_mailparse.h
parentb4f3b9d3ce9f55cf040fb5aa8f201c64646cab43 (diff)
downloadphp-git-d87cc976e1156b839fc6d4aa6b473a126802b8e3.tar.gz
Redesigned thread safety mechanism - nua nua
Diffstat (limited to 'ext/mailparse/php_mailparse.h')
-rwxr-xr-xext/mailparse/php_mailparse.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/mailparse/php_mailparse.h b/ext/mailparse/php_mailparse.h
index 3cc0449dbf..5b76d90201 100755
--- a/ext/mailparse/php_mailparse.h
+++ b/ext/mailparse/php_mailparse.h
@@ -71,11 +71,9 @@ extern ZEND_DECLARE_MODULE_GLOBALS(mailparse);
#ifdef ZTS
-#define MAILPARSEG(v) (mailparse_globals->v)
-#define MAILPARSELS_FETCH() zend_mailparse_globals *mailparse_globals = ts_resource(mailparse_globals_id)
+#define MAILPARSEG(v) TSRMG(mailparse_globals_id, zend_mailparse_globals *, v)
#else
#define MAILPARSEG(v) (mailparse_globals.v)
-#define MAILPARSELS_FETCH()
#endif
#endif