- solve that another way
[m6w6/ext-http] / php_http_encoding_api.h
index a50fc49485c9acf20fbf05a63fa5aa93bee8b044..883d676d0c2418e025fa26150e0c202e737aac9d 100644 (file)
@@ -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 <mike@php.net>            |
+    | Copyright (c) 2004-2006, Michael Wallner <mike@php.net>            |
     +--------------------------------------------------------------------+
 */
 
@@ -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