]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/gsockgtk.cpp
The mmedia contrib requires sys/soundcard.h on unix, so disable it on unix
[wxWidgets.git] / src / gtk1 / gsockgtk.cpp
index ffcd57563c224a9e491d874bc024a148f6c996a9..ae8e1a9da5382eb5c3426f66bd26b7daf15c5d85 100644 (file)
@@ -21,6 +21,8 @@
 #include "wx/unix/gsockunx.h"
 
 
+extern "C" {
+static
 void _GSocket_GDK_Input(gpointer data,
                         gint source,
                         GdkInputCondition condition)
@@ -32,6 +34,7 @@ void _GSocket_GDK_Input(gpointer data,
   if (condition & GDK_INPUT_WRITE)
     socket->Detected_Write();
 }
+}
 
 bool GSocketGUIFunctionsTableConcrete::CanUseEventLoop()
 {   return true; }