]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckstrm.cpp
Now uses proper wxUSE_xxx flags
[wxWidgets.git] / src / common / sckstrm.cpp
index 8dde4ba92e14fae4afd1506ccd19be7e022e0bb4..f7796cea3b7ca45f01d6952dc64696fb6855e9a8 100644 (file)
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-#pragma hdrstop
+  #pragma hdrstop
 #endif
 
 #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"
@@ -86,3 +89,6 @@ wxSocketStream::wxSocketStream(wxSocketBase& s)
 wxSocketStream::~wxSocketStream()
 {
 }
+
+#endif
+  // wxUSE_STREAMS && wxUSE_SOCKETS