Compile fix for --without-zlib --enable-compat26.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2008-02-01 17:07:40 +00:00
parent cd8ba0d9e4
commit 920991eeb3

View File

@@ -22,7 +22,7 @@
#include "wx/log.h" #include "wx/log.h"
#endif #endif
#if WXWIN_COMPATIBILITY_2_6 #if WXWIN_COMPATIBILITY_2_6 && wxUSE_ZIPSTREAM
#include "wx/zipstrm.h" #include "wx/zipstrm.h"
#else #else
#include "wx/archive.h" #include "wx/archive.h"
@@ -406,7 +406,7 @@ wxFSFile* wxArchiveFSHandler::OpenFile(
return NULL; return NULL;
} }
#if WXWIN_COMPATIBILITY_2_6 #if WXWIN_COMPATIBILITY_2_6 && wxUSE_ZIPSTREAM
if (factory->IsKindOf(CLASSINFO(wxZipClassFactory))) if (factory->IsKindOf(CLASSINFO(wxZipClassFactory)))
((wxZipInputStream*)s)->m_allowSeeking = true; ((wxZipInputStream*)s)->m_allowSeeking = true;
#endif // WXWIN_COMPATIBILITY_2_6 #endif // WXWIN_COMPATIBILITY_2_6