From: Michael Wetherell Date: Fri, 1 Feb 2008 17:07:40 +0000 (+0000) Subject: Compile fix for --without-zlib --enable-compat26. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/920991eeb31805c1b626f5e461a592d8084ec0c8 Compile fix for --without-zlib --enable-compat26. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/fs_arc.cpp b/src/common/fs_arc.cpp index ff639417dd..9d7ae4fe10 100644 --- a/src/common/fs_arc.cpp +++ b/src/common/fs_arc.cpp @@ -22,7 +22,7 @@ #include "wx/log.h" #endif -#if WXWIN_COMPATIBILITY_2_6 +#if WXWIN_COMPATIBILITY_2_6 && wxUSE_ZIPSTREAM #include "wx/zipstrm.h" #else #include "wx/archive.h" @@ -406,7 +406,7 @@ wxFSFile* wxArchiveFSHandler::OpenFile( return NULL; } -#if WXWIN_COMPATIBILITY_2_6 +#if WXWIN_COMPATIBILITY_2_6 && wxUSE_ZIPSTREAM if (factory->IsKindOf(CLASSINFO(wxZipClassFactory))) ((wxZipInputStream*)s)->m_allowSeeking = true; #endif // WXWIN_COMPATIBILITY_2_6