// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
-#include <stdio.h>
-#include <wx/stream.h>
-#include <wx/wfstream.h>
#ifdef __BORLANDC__
-#pragma hdrstop
+ #pragma hdrstop
#endif
+#ifndef WX_PRECOMP
+ #include "wx/defs.h"
+#endif
+
+#if wxUSE_STREAMS && wxUSE_FILE
+
+#include <stdio.h>
+#include <wx/stream.h>
+#include <wx/wfstream.h>
+
// ----------------------------------------------------------------------------
// wxFileInputStream
// ----------------------------------------------------------------------------
: wxFileInputStream(fileName), wxFileOutputStream(*wxFileInputStream::m_file)
{
}
+
+#endif
+ // wxUSE_STREAMS && wxUSE_FILE