From ae3ee3467b2ff95d3ac4c35b47ce5c5ed63763a7 Mon Sep 17 00:00:00 2001 From: hogliux Date: Mon, 19 Dec 2016 15:01:23 +0000 Subject: [PATCH] Fixed an issue when including an external and newer version of zlib --- .../juce_core/zip/juce_GZIPDecompressorInputStream.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/juce_core/zip/juce_GZIPDecompressorInputStream.cpp b/modules/juce_core/zip/juce_GZIPDecompressorInputStream.cpp index d86e1a3bb7..04d3266027 100644 --- a/modules/juce_core/zip/juce_GZIPDecompressorInputStream.cpp +++ b/modules/juce_core/zip/juce_GZIPDecompressorInputStream.cpp @@ -79,6 +79,15 @@ namespace zlibNamespace #endif #else #include JUCE_ZLIB_INCLUDE_PATH + + #ifndef z_uInt + #ifdef uInt + #define z_uInt uInt + #else + #define z_uInt unsigned int + #endif + #endif + #endif }