X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_encoding_api.h;fp=php_http_encoding_api.h;h=883d676d0c2418e025fa26150e0c202e737aac9d;hp=9cde6e7953a9fb0748a2c00069750978134c4935;hb=9d625938e2d29e037b1d3eb852f0cdb75107e02b;hpb=96cb0e4be6dcfd7ef69e09e67d671445b40d3de4 diff --git a/php_http_encoding_api.h b/php_http_encoding_api.h index 9cde6e7..883d676 100644 --- a/php_http_encoding_api.h +++ b/php_http_encoding_api.h @@ -53,6 +53,11 @@ typedef enum { #define HTTP_DEFLATE_STRATEGY_RLE 0x00000300 #define HTTP_DEFLATE_STRATEGY_FIXED 0x00000400 +#ifndef Z_FIXED +/* Z_FIXED does not exist prior 1.2.2.2 */ +# define Z_FIXED 0 +#endif + #define HTTP_INFLATE_TYPE_ZLIB 0x00000000 #define HTTP_INFLATE_TYPE_GZIP 0x00000000 #define HTTP_INFLATE_TYPE_RAW 0x00000001