From 51b88bc1d432bf6d1bec55cc3957167a23f383de Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Mon, 17 Aug 2015 19:51:50 +0100 Subject: Patch around INT32_MAX not being present on windows. It's a C99ism. --- source/fitz/unzip.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source') diff --git a/source/fitz/unzip.c b/source/fitz/unzip.c index 8c7c1f61..355da552 100644 --- a/source/fitz/unzip.c +++ b/source/fitz/unzip.c @@ -2,6 +2,10 @@ #include +#if !defined (INT32_MAX) +#define INT32_MAX 2147483647L +#endif + #define ZIP_LOCAL_FILE_SIG 0x04034b50 #define ZIP_DATA_DESC_SIG 0x08074b50 #define ZIP_CENTRAL_DIRECTORY_SIG 0x02014b50 -- cgit v1.2.3