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.
This commit is contained in:
SergeyV@selena. 2006-01-12 17:32:39 +03:00
parent 6301568290
commit df7097f203
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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.