]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filesys.cpp
Platform and compiler-specific checking for MSW and Mac now done
[wxWidgets.git] / src / common / filesys.cpp
index e86b88cea1a0995b32f1163808fa80a73397b062..4213f32dc4e48a190ae1c1a39cc10f32883a08af 100644 (file)
@@ -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)