From 920991eeb31805c1b626f5e461a592d8084ec0c8 Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Fri, 1 Feb 2008 17:07:40 +0000 Subject: [PATCH] Compile fix for --without-zlib --enable-compat26. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51496 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 ff63941..9d7ae4f 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 -- 2.7.4