]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckstrm.cpp
MingW32 compilation works now.
[wxWidgets.git] / src / common / sckstrm.cpp
index c0b5332b046e59d7779858b18bd833bafe70c19c..f7796cea3b7ca45f01d6952dc64696fb6855e9a8 100644 (file)
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-#pragma hdrstop
+  #pragma hdrstop
 #endif
 
-#if wxUSE_SOCKETS
-
 #ifndef WX_PRECOMP
+  #include "wx/defs.h"
 #endif
 
+#if wxUSE_SOCKETS && wxUSE_STREAMS
+
 #include "wx/stream.h"
 #include "wx/socket.h"
 #include "wx/sckstrm.h"
@@ -90,3 +91,4 @@ wxSocketStream::~wxSocketStream()
 }
 
 #endif
+  // wxUSE_STREAMS && wxUSE_SOCKETS