]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fs_inet.cpp
Platform and compiler-specific checking for MSW and Mac now done
[wxWidgets.git] / src / common / fs_inet.cpp
index cba29271dcc07f07ba27d93cd3d37b19764afdd0..7d4be026c9c5ed551df71692cd3e3aaaa294414b 100644 (file)
@@ -25,7 +25,7 @@ limitation)
 
 #include "wx/wxprec.h"
 
 
 #include "wx/wxprec.h"
 
-#ifdef __BORDLANDC__
+#ifdef __BORLANDC__
 #pragma hdrstop
 #endif
 
 #pragma hdrstop
 #endif
 
@@ -145,8 +145,11 @@ wxFSFile* wxInternetFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxStri
     return new wxFSFile(s,
                         right,
                         info->GetMime(),
     return new wxFSFile(s,
                         right,
                         info->GetMime(),
-                        GetAnchor(location),
-                        wxDateTime::Now());
+                        GetAnchor(location)
+#if wxUSE_DATETIME
+                        , wxDateTime::Now()
+#endif // wxUSE_DATETIME
+                        );
 }
 
 
 }