]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/socket.cpp
temp linking quick fix
[wxWidgets.git] / src / common / socket.cpp
index 003bd9dbcfb3afccda8e45f3cf037ae82951ccc5..9df24e42c9453decd31c6c67e986efef935c3a57 100644 (file)
@@ -862,9 +862,10 @@ char *wxSocketBase::CallbackData(char *data)
 // decoupled from wx_socket_callback and thus they suffer from a variety
 // of problems. Avoid them where possible and use events instead.
 
-static void LINKAGEMODE wx_socket_callback(GSocket * WXUNUSED(socket),
-                                           GSocketEvent notification,
-                                           char *cdata)
+extern "C"
+void LINKAGEMODE wx_socket_callback(GSocket * WXUNUSED(socket),
+                                    GSocketEvent notification,
+                                    char *cdata)
 {
   wxSocketBase *sckobj = (wxSocketBase *)cdata;