X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fec5bb62084ea8241adbc52945d812bf5e659c3..9aaf11927c8f43dcf296563c6a62707d625c2356:/src/common/wfstream.cpp diff --git a/src/common/wfstream.cpp b/src/common/wfstream.cpp index f0b0178083..8370eebc6f 100644 --- a/src/common/wfstream.cpp +++ b/src/common/wfstream.cpp @@ -20,12 +20,14 @@ #pragma hdrstop #endif -#if wxUSE_STREAMS && wxUSE_FILE +#if wxUSE_STREAMS #include #include "wx/stream.h" #include "wx/wfstream.h" +#if wxUSE_FILE + // ---------------------------------------------------------------------------- // wxFileInputStream // ---------------------------------------------------------------------------- @@ -191,6 +193,10 @@ wxFileStream::wxFileStream(const wxString& fileName) wxFileOutputStream::m_file = wxFileInputStream::m_file; } +#endif //wxUSE_FILE + +#if wxUSE_FFILE + // ---------------------------------------------------------------------------- // wxFFileInputStream // ---------------------------------------------------------------------------- @@ -350,5 +356,7 @@ wxFFileStream::wxFFileStream(const wxString& fileName) wxFFileOutputStream::m_file = wxFFileInputStream::m_file; } -#endif // wxUSE_STREAMS && wxUSE_FILE +#endif //wxUSE_FFILE + +#endif // wxUSE_STREAMS