]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/socket.cpp
corrected a type in the constructor from two points
[wxWidgets.git] / src / common / socket.cpp
index 2968f4fcd38ee4f3d0b49e37f13ade6f01709610..4f3b8085e5cda925c57a111978f9128c9fe0fe21 100644 (file)
@@ -24,6 +24,8 @@ typedef int socklen_t ;
 #pragma hdrstop
 #endif
 
+#if wxUSE_SOCKETS
+
 /////////////////////////////////////////////////////////////////////////////
 // wxWindows headers
 /////////////////////////////////////////////////////////////////////////////
@@ -1922,3 +1924,6 @@ void wxMacProcessSocketEvents()
 
 #endif
   // __WXSTUBS__
+
+#endif
+  // wxUSE_SOCKETS