X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f44eaed6506856d3aece4b75d13253810a7a9edb..172541f64be8fcddb08f1c121da256d08c24a70b:/src/common/archive.cpp diff --git a/src/common/archive.cpp b/src/common/archive.cpp index 22a053b4c4..8ba6b2f75b 100644 --- a/src/common/archive.cpp +++ b/src/common/archive.cpp @@ -22,15 +22,19 @@ #include "wx/defs.h" #endif -#if wxUSE_ZLIB && wxUSE_STREAMS && wxUSE_ZIPSTREAM +#if wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS #include "wx/archive.h" -#include "wx/html/forcelnk.h" IMPLEMENT_ABSTRACT_CLASS(wxArchiveEntry, wxObject) IMPLEMENT_ABSTRACT_CLASS(wxArchiveClassFactory, wxObject) -FORCE_LINK(zipstrm) +#if wxUSE_ZIPSTREAM +//FORCE_LINK(zipstrm) +extern int _wx_link_dummy_func_zipstrm(); +static int _wx_link_dummy_var_zipstrm = + _wx_link_dummy_func_zipstrm (); +#endif ///////////////////////////////////////////////////////////////////////////// @@ -71,4 +75,4 @@ wxArchiveEntry& wxArchiveEntry::operator=(const wxArchiveEntry& WXUNUSED(e)) return *this; } -#endif +#endif // wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS