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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user