X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b4f4d3dd610a29a7be3c7a5f165520438d0328bb..12b5f4b4d2d8a07962da7ba3b78c8c1ec2634a67:/src/common/fs_arc.cpp?ds=sidebyside diff --git a/src/common/fs_arc.cpp b/src/common/fs_arc.cpp index 0a16addb22..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,14 +406,14 @@ 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 return new wxFSFile(s, key + right, - GetMimeTypeFromExt(location), + wxEmptyString, GetAnchor(location) #if wxUSE_DATETIME , entry->GetDateTime()