Commit f85567f5 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Try to solve Linux compile issue. There is a special place reserved in

my section of hell for the dimwits who decided that switching off_t from
32 to 64 bits was too scary to contemplate.
parent 993021b5
......@@ -3,6 +3,7 @@
lib_LTLIBRARIES = libvgz.la
libvgz_la_LDFLAGS = -version-info 1:0:0
libvgz_la_CFLAGS = -D_LARGEFILE64_SOURCE=1
libvgz_la_SOURCES = \
adler32.c \
......
......@@ -1573,7 +1573,9 @@ ZEXTERN int ZEXPORT inflateBackInit_ OF((z_streamp strm, int windowBits,
ZEXTERN z_off64_t ZEXPORT gzoffset64 OF((gzFile));
ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off64_t));
ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off64_t));
#elif !defined(ZLIB_INTERNAL) && _FILE_OFFSET_BITS-0 == 64 && _LFS64_LARGEFILE-0
#endif
#if !defined(ZLIB_INTERNAL) && _FILE_OFFSET_BITS-0 == 64 && _LFS64_LARGEFILE-0
# define gzopen gzopen64
# define gzseek gzseek64
# define gztell gztell64
......
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