]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fs_zip.cpp
Fixed TARGETDEF usage. Now defined in the parent make to use include a DEF file in...
[wxWidgets.git] / src / common / fs_zip.cpp
index 27ed0b6a559ee79d0c825132cc21c1f924eedae7..fd0024f5c9699b4b9957933993ff3ab011b281ff 100644 (file)
@@ -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;