]> git.saurik.com Git - wxWidgets.git/commitdiff
link fix for no sockets compilation
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 30 Jul 1999 18:03:23 +0000 (18:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 30 Jul 1999 18:03:23 +0000 (18:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/gsockgtk.c
src/gtk1/gsockgtk.c

index f31333439f570c66c4751053a96b838ac8630419..e462a6aecea7c2acd872ba186e5dbea2a8e65f1a 100644 (file)
@@ -5,6 +5,10 @@
  * CVSID:   $Id$
  * -------------------------------------------------------------------------
  */
+#include "wx/setup.h"
+
+#if wxUSE_SOCKETS
+
 #include <stdlib.h>
 #include <gdk/gdk.h>
 #include <glib.h>
@@ -105,3 +109,5 @@ unsigned long GSocket_GetEventID(GSocket *socket)
 void GSocket_DoEvent(unsigned long evt_id)
 {
 }
+
+#endif /* wxUSE_SOCKETS */
index f31333439f570c66c4751053a96b838ac8630419..e462a6aecea7c2acd872ba186e5dbea2a8e65f1a 100644 (file)
@@ -5,6 +5,10 @@
  * CVSID:   $Id$
  * -------------------------------------------------------------------------
  */
+#include "wx/setup.h"
+
+#if wxUSE_SOCKETS
+
 #include <stdlib.h>
 #include <gdk/gdk.h>
 #include <glib.h>
@@ -105,3 +109,5 @@ unsigned long GSocket_GetEventID(GSocket *socket)
 void GSocket_DoEvent(unsigned long evt_id)
 {
 }
+
+#endif /* wxUSE_SOCKETS */