]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for wxUSE_PROTOCOL_FILE=0
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 31 Dec 2001 23:30:38 +0000 (23:30 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 31 Dec 2001 23:30:38 +0000 (23:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/sckfile.cpp

index e48f33693f355b1c72f469a04d2058990ff5dfce..11134b837379ddcd00b3792db904ed710fc6384b 100644 (file)
@@ -23,7 +23,7 @@
   #include "wx/defs.h"
 #endif
 
-#if wxUSE_STREAMS
+#if wxUSE_STREAMS && wxUSE_PROTOCOL_FILE
 
 #include <stdio.h>
 #include "wx/wfstream.h"
@@ -46,5 +46,5 @@ wxInputStream *wxFileProto::GetInputStream(const wxString& path)
   return new wxFileInputStream(path);
 }
 
-#endif
+#endif // wxUSE_STREAMS && wxUSE_PROTOCOL_FILE