From 5ce475d274b6119942bd42664aac29d41e2f692f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Czerpak?= Date: Thu, 29 May 2014 00:34:16 +0200 Subject: [PATCH] 2014-05-29 00:34 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbmzip/mzip.c ! disable _LARGEFILE64_SOURCE after including system header files in non *nix builds just before including zlib headers. It's workaround for wrong condition in zconf.h --- ChangeLog.txt | 6 ++++++ contrib/hbmzip/mzip.c | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog.txt b/ChangeLog.txt index 238db51c98..4e422002b8 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -10,6 +10,12 @@ * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment */ +2014-05-29 00:34 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + * contrib/hbmzip/mzip.c + ! disable _LARGEFILE64_SOURCE after including system header files in + non *nix builds just before including zlib headers. + It's workaround for wrong condition in zconf.h + 2014-05-26 16:15 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbfsapi.c * src/rtl/filesys.c diff --git a/contrib/hbmzip/mzip.c b/contrib/hbmzip/mzip.c index c6592c498a..cae9017f4d 100644 --- a/contrib/hbmzip/mzip.c +++ b/contrib/hbmzip/mzip.c @@ -58,6 +58,11 @@ #include "hbapistr.h" #include "hbdate.h" #include "hbset.h" + +#if defined( HB_OS_UNIX ) +# undef _LARGEFILE64_SOURCE +#endif + #include "zip.h" #include "unzip.h"