From: Michael Wallner Date: Tue, 20 Aug 2013 08:40:53 +0000 (+0200) Subject: fix ZTS build, thanks Remi X-Git-Tag: release-1.0.1 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-raphf;a=commitdiff_plain;h=refs%2Ftags%2Frelease-1.0.1;hp=927713ef7639bbbe6acc5bf35555dc969ce98bcc fix ZTS build, thanks Remi --- 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)