X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fphp_http_filter.c;h=654edffa113cd1bb1868006053bbaa64375b4043;hb=fd20878661cca54ae4445dfc7e48ebe1d5a014e9;hp=92bfd1554ef946491b6819f5748d5d3b9b83059b;hpb=e096f45ff30a46d6a8e96da7bc6334d2ac5ab7c2;p=m6w6%2Fext-http diff --git a/src/php_http_filter.c b/src/php_http_filter.c index 92bfd15..654edff 100644 --- a/src/php_http_filter.c +++ b/src/php_http_filter.c @@ -380,7 +380,11 @@ static PHP_HTTP_FILTER_OPS(inflate) = { "http.inflate" }; +#if PHP_VERSION_ID >= 70200 +static php_stream_filter *http_filter_create(const char *name, zval *params, uint8_t p) +#else static php_stream_filter *http_filter_create(const char *name, zval *params, int p) +#endif { zval *tmp = params; php_stream_filter *f = NULL;