From: Michael Wallner Date: Tue, 2 Apr 2019 05:44:06 +0000 (+0200) Subject: fix master X-Git-Tag: v1.0.2~6 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-json_post;a=commitdiff_plain;h=448f06fc601b98bdeb7fc356bac382dbf59b62ab fix master --- diff --git a/php_json_post.c b/php_json_post.c index 4a0fcd3..d9b7295 100644 --- a/php_json_post.c +++ b/php_json_post.c @@ -136,6 +136,9 @@ PHP_MINIT_FUNCTION(json_post) { NULL, 0, NULL, NULL } }; +#ifndef TSRMLS_CC +# define TSRMLS_CC +#endif sapi_register_post_entries(json_post_entries TSRMLS_CC); ZEND_INIT_MODULE_GLOBALS(json_post, php_json_post_init_globals, NULL); diff --git a/php_json_post.h b/php_json_post.h index 4400f31..1c0f015 100644 --- a/php_json_post.h +++ b/php_json_post.h @@ -16,7 +16,7 @@ extern zend_module_entry json_post_module_entry; #define phpext_json_post_ptr &json_post_module_entry -#define PHP_JSON_POST_VERSION "1.0.1" +#define PHP_JSON_POST_VERSION "1.0.2dev" #ifdef PHP_WIN32 # define PHP_JSON_POST_API __declspec(dllexport)