]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckfile.cpp
fix wxFilesystem compilation if wxUSE_FFILE is 0 but wxUSE_FILE is 1; disable wxFileS...
[wxWidgets.git] / src / common / sckfile.cpp
index ba55e1ce96c6562ea4aae067a2c737fd7a45b179..adf5a85c909310077a77d06ef661093b8a5822c1 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        sckfile.cpp
+// Name:        src/common/sckfile.cpp
 // Purpose:     File protocol
 // Author:      Guilhem Lavaux
 // Modified by:
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-  #pragma hdrstop
+    #pragma hdrstop
 #endif
 
+#if wxUSE_STREAMS && wxUSE_PROTOCOL_FILE
+
 #ifndef WX_PRECOMP
-  #include "wx/defs.h"
 #endif
 
-#if wxUSE_STREAMS && wxUSE_PROTOCOL_FILE
-
 #include <stdio.h>
 #include "wx/wfstream.h"
 #include "wx/protocol/file.h"
@@ -56,4 +55,3 @@ wxInputStream *wxFileProto::GetInputStream(const wxString& path)
 }
 
 #endif // wxUSE_STREAMS && wxUSE_PROTOCOL_FILE
-