From 471db94eb824aae4c9b8713137b08d14c5a68798 Mon Sep 17 00:00:00 2001 From: kichik Date: Thu, 25 Jan 2007 18:07:40 +0000 Subject: [PATCH] clean-up for posix tests compatibility git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4901 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/zlib/INFBLOCK.C | 8 ++++---- Source/zlib/ZUTIL.H | 32 +++++++++++++++----------------- 2 files changed, 19 insertions(+), 21 deletions(-) diff --git a/Source/zlib/INFBLOCK.C b/Source/zlib/INFBLOCK.C index f7bebe25..73aef2d2 100644 --- a/Source/zlib/INFBLOCK.C +++ b/Source/zlib/INFBLOCK.C @@ -11,11 +11,14 @@ * warranty. */ +#include "../Platform.h" #include "../exehead/config.h" -#ifdef NSIS_COMPRESS_USE_ZLIB #include "ZUTIL.H" +#ifndef min +# define min(x,y) ((x