From: Václav Slavík Date: Mon, 26 Apr 2004 09:22:03 +0000 (+0000) Subject: another 2.4 compatiblity fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ce4261521883ec655494a7f8ed053f7639b658d6 another 2.4 compatiblity fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/streams/zlibstream.cpp b/tests/streams/zlibstream.cpp index cf0f0a5362..f70ff1e0e2 100644 --- a/tests/streams/zlibstream.cpp +++ b/tests/streams/zlibstream.cpp @@ -401,7 +401,9 @@ void zlibStream::doDecompress_ExternalData(const unsigned char *data, const char { case wxZLIB_NO_HEADER: break; +#if WXWIN_COMPATIBILITY_2_4 case wxZLIB_24COMPATIBLE: +#endif case wxZLIB_ZLIB: if (!(data_size >= 1 && data[0] == 0x78)) wxLogError(_T("zlib data seems to not be zlib data!"));