fix ZTS build, thanks Remi release-1.0.1
authorMichael Wallner <mike@php.net>
Tue, 20 Aug 2013 08:40:53 +0000 (10:40 +0200)
committerMichael Wallner <mike@php.net>
Tue, 20 Aug 2013 08:40:53 +0000 (10:40 +0200)
package.xml
php_raphf.h

index ad54c358e6d140645a8993bf5748db0b5c1d4be5..45dc24ec8c635f89f6e5f48a7da44b7f1285d1d8 100644 (file)
@@ -19,9 +19,9 @@ http://pear.php.net/dtd/package-2.0.xsd">
   <email>mike@php.net</email>
   <active>yes</active>
  </lead>
- <date>2013-08-12</date>
+ <date>2013-08-20</date>
  <version>
-  <release>1.0.0</release>
+  <release>1.0.1</release>
   <api>1.0.0</api>
  </version>
  <stability>
@@ -30,7 +30,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
  </stability>
  <license>BSD, revised</license>
  <notes><![CDATA[
-* Stable release
+* Fixed ZTS build
 ]]></notes>
  <contents>
   <dir name="/">
index a1b0823a48e8525bb1fdaa7db0cab7a7b9f14a57..3ba068e4a9f88653c95c2d725aa81f7350d71ace 100644 (file)
@@ -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)