]> git.saurik.com Git - wxWidgets.git/commitdiff
You CAN'T check for wxUSE_SOCKET *before* #including <wx/setup.h>!!! Who has done...
authorGuillermo Rodriguez Garcia <guille@iies.es>
Wed, 15 Sep 1999 00:09:54 +0000 (00:09 +0000)
committerGuillermo Rodriguez Garcia <guille@iies.es>
Wed, 15 Sep 1999 00:09:54 +0000 (00:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/gsocket.c

index 350c4a8bbd7150975b36a3c979df06112519b401..315a7e46c31cc7c07a9c12cf2e8b1eebd6b2e90d 100644 (file)
@@ -6,7 +6,6 @@
  * -------------------------------------------------------------------------
  */
 
-#if defined(__GSOCKET_STANDALONE__) || defined(wxUSE_SOCKETS)
 
 #ifndef __GSOCKET_STANDALONE__
 
@@ -30,6 +29,8 @@
 #endif /* __GSOCKET_STANDALONE__ */
 
 
+#if defined(__GSOCKET_STANDALONE__) || defined(wxUSE_SOCKETS)
+
 #include <assert.h>
 #include <string.h>
 #include <stdio.h>