projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
96cb0e4
)
- fix bug #6645: doesn't compile with zlib 1.2.2 (undefined Z_FIXED)
author
Michael Wallner
<mike@php.net>
Tue, 31 Jan 2006 18:52:50 +0000
(18:52 +0000)
committer
Michael Wallner
<mike@php.net>
Tue, 31 Jan 2006 18:52:50 +0000
(18:52 +0000)
php_http_encoding_api.h
patch
|
blob
|
history
diff --git
a/php_http_encoding_api.h
b/php_http_encoding_api.h
index 9cde6e7953a9fb0748a2c00069750978134c4935..883d676d0c2418e025fa26150e0c202e737aac9d 100644
(file)
--- 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