better way to access json globals on PHP 5
[m6w6/ext-json_post] / php_json_post.h
index 2895b70256978f6ce3d1fde52a8578e5a991776b..d94a14c587622927843bdbaad2950bb8055457de 100644 (file)
@@ -41,6 +41,9 @@ ZEND_BEGIN_MODULE_GLOBALS(json_post)
                zend_bool warning;
                zend_bool exit;
        } onerror;
+#if PHP_VERSION_ID < 70000
+       zend_module_entry *json_module;
+#endif
 ZEND_END_MODULE_GLOBALS(json_post)
 
 ZEND_EXTERN_MODULE_GLOBALS(json_post);