From a0f776a3c31e1e7a3875b47a0a90cb7d2320067d Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 20 Aug 2013 10:40:53 +0200 Subject: [PATCH] fix ZTS build, thanks Remi --- package.xml | 6 +++--- php_raphf.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.xml b/package.xml index ad54c35..45dc24e 100644 --- a/package.xml +++ b/package.xml @@ -19,9 +19,9 @@ http://pear.php.net/dtd/package-2.0.xsd"> mike@php.net yes - 2013-08-12 + 2013-08-20 - 1.0.0 + 1.0.1 1.0.0 @@ -30,7 +30,7 @@ http://pear.php.net/dtd/package-2.0.xsd"> BSD, revised diff --git a/php_raphf.h b/php_raphf.h index a1b0823..3ba068e 100644 --- a/php_raphf.h +++ b/php_raphf.h @@ -16,7 +16,7 @@ extern zend_module_entry raphf_module_entry; #define phpext_raphf_ptr &raphf_module_entry -#define PHP_RAPHF_VERSION "1.0.0" +#define PHP_RAPHF_VERSION "1.0.1" #ifdef PHP_WIN32 # define PHP_RAPHF_API __declspec(dllexport) @@ -128,7 +128,7 @@ ZEND_BEGIN_MODULE_GLOBALS(raphf) ZEND_END_MODULE_GLOBALS(raphf) #ifdef ZTS -# define PHP_RAPHF_G ((zend_raphf_globals *) +# define PHP_RAPHF_G ((zend_raphf_globals *) \ (*((void ***) tsrm_ls))[TSRM_UNSHUFFLE_RSRC_ID(raphf_globals_id)]) #else # define PHP_RAPHF_G (&raphf_globals) -- 2.30.2