Commit 988584f0 authored by unknown's avatar unknown

Fixes bug #15787. Fix makes available _FILE_OFFSET_BITS definition for

zlib library in order to enable support of files larger than 2Gb.
Providing an effective test is hardly possible, since the problem starts
only when archive table becomes larger than 2Gb.


zlib/gzio.c:
  Move include of zutil.h on top of gzio.c to include chain of
  zutil.h->zlib.h->zconf.h->config.h before including anything else.
zlib/zconf.h:
  Includes config.h in order to make _FILE_OFFSET_BITS definition available.
parent 35d46cee
......@@ -7,10 +7,10 @@
/* @(#) $Id$ */
#include <stdio.h>
#include "zutil.h"
#include <stdio.h>
#ifdef NO_DEFLATE /* for compatibility with old definition */
# define NO_GZCOMPRESS
#endif
......
......@@ -8,6 +8,10 @@
#ifndef ZCONF_H
#define ZCONF_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/*
* If you *really* need a unique prefix for all types and library functions,
* compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment