]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckfile.cpp
PyCrust updates
[wxWidgets.git] / 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