From: Václav Slavík Date: Mon, 31 Dec 2001 23:30:38 +0000 (+0000) Subject: compilation fix for wxUSE_PROTOCOL_FILE=0 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ef0e85f3f19bb66450d77b98606a315b3f1897a2 compilation fix for wxUSE_PROTOCOL_FILE=0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/sckfile.cpp b/src/common/sckfile.cpp index e48f33693f..11134b8373 100644 --- a/src/common/sckfile.cpp +++ b/src/common/sckfile.cpp @@ -23,7 +23,7 @@ #include "wx/defs.h" #endif -#if wxUSE_STREAMS +#if wxUSE_STREAMS && wxUSE_PROTOCOL_FILE #include #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