X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9548c49a6a1e4533976450205de136d9edbe91b0..1eb9ddb9f8136af0e13a767762bb52f6c23bbcd7:/src/common/fs_zip.cpp diff --git a/src/common/fs_zip.cpp b/src/common/fs_zip.cpp index 27ed0b6a55..fd0024f5c9 100644 --- a/src/common/fs_zip.cpp +++ b/src/common/fs_zip.cpp @@ -97,8 +97,11 @@ wxFSFile* wxZipFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxString& l return new wxFSFile(s, left + wxT("#zip:") + right, GetMimeTypeFromExt(location), - GetAnchor(location), - wxDateTime(wxFileModificationTime(left))); + GetAnchor(location) +#if wxUSE_DATETIME + , wxDateTime(wxFileModificationTime(left)) +#endif // wxUSE_DATETIME + ); } delete s;