projects
/
m6w6
/
ext-json_post
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix PHP-5-ZTS
[m6w6/ext-json_post]
/
php_json_post.c
diff --git
a/php_json_post.c
b/php_json_post.c
index 77ceb8d3854fe20c208d2a3c76885223210df949..643b1738f57467322c6fb4de87b367560939f7f6 100644
(file)
--- a/
php_json_post.c
+++ b/
php_json_post.c
@@
-59,7
+59,7
@@
PHP_MINFO_FUNCTION(json_post)
#if PHP_VERSION_ID < 70000
# undef JSON_G
# ifdef ZTS
#if PHP_VERSION_ID < 70000
# undef JSON_G
# ifdef ZTS
-# define JSON_G(v) TSRMG(JSON_POST_G(json_module)->globals_id_ptr, zend_json_globals *, v)
+# define JSON_G(v) TSRMG(
*
JSON_POST_G(json_module)->globals_id_ptr, zend_json_globals *, v)
# else
# define JSON_G(v) ((zend_json_globals *) JSON_POST_G(json_module)->globals_ptr)->v
# endif
# else
# define JSON_G(v) ((zend_json_globals *) JSON_POST_G(json_module)->globals_ptr)->v
# endif