X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-json_post;a=blobdiff_plain;f=php_json_post.c;h=d9b72957726301f2eaf256fa75699a711570b149;hp=4a0fcd30387a1d9346461aa53343e017a2e6e76b;hb=448f06fc601b98bdeb7fc356bac382dbf59b62ab;hpb=c238dbcc19c5c445d0b1f2a66b2212bb95df7673 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);