X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_encoding_api.h;h=883d676d0c2418e025fa26150e0c202e737aac9d;hb=23f26b4768097b37a7064e05a9785ddb8f7ce6df;hp=a50fc49485c9acf20fbf05a63fa5aa93bee8b044;hpb=6e9ea0a647db55213dd230145c35a419d7abde4d;p=m6w6%2Fext-http diff --git a/php_http_encoding_api.h b/php_http_encoding_api.h index a50fc49..883d676 100644 --- a/php_http_encoding_api.h +++ b/php_http_encoding_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2005, Michael Wallner | + | Copyright (c) 2004-2006, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -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