X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04dbb6467be8f564f380bd9a1106fbdecbd26a98..01ebf7520366a4cf80975d820794fea394c96d7b:/src/common/fs_inet.cpp diff --git a/src/common/fs_inet.cpp b/src/common/fs_inet.cpp index cba29271dc..7d4be026c9 100644 --- a/src/common/fs_inet.cpp +++ b/src/common/fs_inet.cpp @@ -25,7 +25,7 @@ limitation) #include "wx/wxprec.h" -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif @@ -145,8 +145,11 @@ wxFSFile* wxInternetFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxStri return new wxFSFile(s, right, info->GetMime(), - GetAnchor(location), - wxDateTime::Now()); + GetAnchor(location) +#if wxUSE_DATETIME + , wxDateTime::Now() +#endif // wxUSE_DATETIME + ); }