summaryrefslogtreecommitdiff
path: root/ext/zlib/zlib.c
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2000-11-20 21:36:38 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2000-11-20 21:36:38 +0000
commit67bb9d1ae23fe4c7e4160dabfb4f07b51dccabf1 (patch)
treefaee1ab09e668291c9b5ba1a54432b54c458d1ab /ext/zlib/zlib.c
parentb2c957d4b16c6eb208266983b6505f0a3ee70e4e (diff)
downloadphp-git-67bb9d1ae23fe4c7e4160dabfb4f07b51dccabf1.tar.gz
fixed a compile problem with glibc<=2.1.1 (#7327, #7892)
# zlib.c still produces a warning, perhaps i should move # the fopen wrapper to a seperate file to get things right # but i think i will wait for the autoconf book to arrive
Diffstat (limited to 'ext/zlib/zlib.c')
-rw-r--r--ext/zlib/zlib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index 3b706449f6..695fc37abf 100644
--- a/ext/zlib/zlib.c
+++ b/ext/zlib/zlib.c
@@ -967,7 +967,8 @@ static int gz_closer(void *cookie) {
}
-static cookie_io_functions_t gz_cookie_functions =
+
+static COOKIE_IO_FUNCTIONS_T gz_cookie_functions =
{ gz_reader
, gz_writer
, gz_seeker