X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/81f90336020eab200e8f09a6b726c7ec49439b68..ca6a9a148646fb024d76b3e19c940ace56eec1f8:/src/common/archive.cpp diff --git a/src/common/archive.cpp b/src/common/archive.cpp index debb3b0bbe..8ba6b2f75b 100644 --- a/src/common/archive.cpp +++ b/src/common/archive.cpp @@ -22,16 +22,18 @@ #include "wx/defs.h" #endif -#if wxUSE_STREAMS && wxUSE_ARCSTREAM +#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) #if wxUSE_ZIPSTREAM -FORCE_LINK(zipstrm) +//FORCE_LINK(zipstrm) +extern int _wx_link_dummy_func_zipstrm(); +static int _wx_link_dummy_var_zipstrm = + _wx_link_dummy_func_zipstrm (); #endif @@ -73,4 +75,4 @@ wxArchiveEntry& wxArchiveEntry::operator=(const wxArchiveEntry& WXUNUSED(e)) return *this; } -#endif // wxUSE_STREAMS && wxUSE_ARCSTREAM +#endif // wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS