diff options
author | Anatol Belski <ab@php.net> | 2015-07-29 10:35:57 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-07-29 10:36:30 +0200 |
commit | 0787cd60ed3d0c8c8c8ff7e49b9bb3587bf33b64 (patch) | |
tree | 77fd146f85e4847ad64421f646dc7d98000ce97e /ext/pcre/php_pcre.h | |
parent | 43cdfd9a82f99ddfc21c3b11bdebc565a4349634 (diff) | |
download | php-git-0787cd60ed3d0c8c8c8ff7e49b9bb3587bf33b64.tar.gz |
first stone on using the unified globals accessor
Diffstat (limited to 'ext/pcre/php_pcre.h')
-rw-r--r-- | ext/pcre/php_pcre.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ext/pcre/php_pcre.h b/ext/pcre/php_pcre.h index fb155c467e..d3fe0b5d10 100644 --- a/ext/pcre/php_pcre.h +++ b/ext/pcre/php_pcre.h @@ -82,12 +82,7 @@ ZEND_BEGIN_MODULE_GLOBALS(pcre) ZEND_END_MODULE_GLOBALS(pcre) PHPAPI ZEND_EXTERN_MODULE_GLOBALS(pcre); - -#ifdef ZTS -# define PCRE_G(v) ZEND_TSRMG(pcre_globals_id, zend_pcre_globals *, v) -#else -# define PCRE_G(v) (pcre_globals.v) -#endif +#define PCRE_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(pcre, v) #else |