From f8f925e0a974261f56a701f52a134999d8fa2042 Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Fri, 1 Feb 2008 16:44:56 +0000 Subject: [PATCH] Compile fix when 2.6 compatibility on and --without-zlib. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/fs_arc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/fs_arc.cpp b/src/common/fs_arc.cpp index a00e6accd7..b5002b5ae1 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" @@ -399,7 +399,7 @@ wxFSFile* wxArchiveFSHandler::OpenFile( if (s && s->IsOk()) { -#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