]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/mstream.cpp
don't crash on weird line endings like \r\r\n
[wxWidgets.git] / src / common / mstream.cpp
index ab50d843865f1c8ee942ca2b6105678dc09d7bc3..f7786777284e9b4c4e24f0a1a116347aba08e98d 100644 (file)
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-  #pragma hdrstop
+    #pragma hdrstop
 #endif
 
 #if wxUSE_STREAMS
 
-#include <stdlib.h>
-#include "wx/stream.h"
 #include "wx/mstream.h"
 
+#ifndef   WX_PRECOMP
+    #include  "wx/stream.h"
+#endif  //WX_PRECOMP
+
+#include <stdlib.h>
+
 // ============================================================================
 // implementation
 // ============================================================================