]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/mstream.cpp
Motif compile fixes
[wxWidgets.git] / src / common / mstream.cpp
index 560c0fd1ae305c729856ae51633d9b0e25824b69..c6a58a04a19263c3ef1c6b2e6e54d67c5d71a3aa 100644 (file)
 
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
-#include <stdlib.h>
-#include <wx/stream.h>
-#include <wx/mstream.h>
 
 #ifdef __BORLANDC__
-#pragma hdrstop
+  #pragma hdrstop
 #endif
 
+#if wxUSE_STREAMS
+
+#include <stdlib.h>
+#include <wx/stream.h>
+#include <wx/mstream.h>
+
 // ----------------------------------------------------------------------------
 // wxMemoryInputStream
 // ----------------------------------------------------------------------------
@@ -60,3 +63,5 @@ wxMemoryOutputStream::wxMemoryOutputStream(char *data, size_t len)
 wxMemoryOutputStream::~wxMemoryOutputStream()
 {
 }
+
+#endif