X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d0200d9effdaeb721c4a952ff363c275bfd74815..0e878cfcc6486c7903ae89b316bc71700320199d:/src/common/filesys.cpp diff --git a/src/common/filesys.cpp b/src/common/filesys.cpp index e86b88cea1..4213f32dc4 100644 --- a/src/common/filesys.cpp +++ b/src/common/filesys.cpp @@ -190,8 +190,11 @@ wxFSFile* wxLocalFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxString& return new wxFSFile(new wxFFileInputStream(fullpath), right, GetMimeTypeFromExt(location), - GetAnchor(location), - wxDateTime(wxFileModificationTime(fullpath))); + GetAnchor(location) +#if wxUSE_DATETIME + ,wxDateTime(wxFileModificationTime(fullpath)) +#endif // wxUSE_DATETIME + ); } wxString wxLocalFSHandler::FindFirst(const wxString& spec, int flags)