#include "wx/defs.h"
-#if wxUSE_STREAMS && wxUSE_FILE
+#if wxUSE_STREAMS
#include "wx/object.h"
#include "wx/string.h"
#include "wx/file.h"
#include "wx/ffile.h"
+#if wxUSE_FILE
+
// ----------------------------------------------------------------------------
// wxFileStream using wxFile
// ----------------------------------------------------------------------------
DECLARE_NO_COPY_CLASS(wxFileStream)
};
+#endif //wxUSE_FILE
+
+#if wxUSE_FFILE
+
// ----------------------------------------------------------------------------
// wxFFileStream using wxFFile
// ----------------------------------------------------------------------------
DECLARE_NO_COPY_CLASS(wxFFileStream)
};
-#endif // wxUSE_STREAMS && wxUSE_FILE
+#endif //wxUSE_FFILE
+
+#endif // wxUSE_STREAMS
#endif // _WX_WXFSTREAM_H__