X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5526e819eca4465ed5520d49bccfebc6a28045e0..c49245f8baabd69afd7302c43474d3bdd247fb89:/src/common/unzip.c diff --git a/src/common/unzip.c b/src/common/unzip.c index ff71a474da..71f4ed2b97 100644 --- a/src/common/unzip.c +++ b/src/common/unzip.c @@ -4,6 +4,9 @@ Read unzip.h for more info */ +#include "wx/setup.h" + +#if wxUSE_ZLIB && wxUSE_ZIPSTREAM #include #include @@ -1292,3 +1295,10 @@ extern int ZEXPORT unzGetGlobalComment (file, szComment, uSizeBuf) *(szComment+s->gi.size_comment)='\0'; return (int)uReadThis; } + +#else + +// the file shouldn't be empty, som compilers don't like it +static const int dummyVariableInUnzip = 17; + +#endif // wxUSE_ZLIB && wxUSE_ZIPSTREAM