X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4929e864e91a1f9118f2ce946f354b7681b2505..4fcd60c72f6b90f5063f7000ff5a80a9004055a3:/src/msw/gsockmsw.c?ds=inline diff --git a/src/msw/gsockmsw.c b/src/msw/gsockmsw.c index 65668b8c49..e268519721 100644 --- a/src/msw/gsockmsw.c +++ b/src/msw/gsockmsw.c @@ -20,6 +20,7 @@ #endif #ifndef __GSOCKET_STANDALONE__ +#include "wx/defs.h" #include "wx/setup.h" #endif @@ -136,7 +137,7 @@ void GSocket_Cleanup(void) /* Per-socket GUI initialization / cleanup */ -bool _GSocket_GUI_Init(GSocket *socket) +int _GSocket_GUI_Init(GSocket *socket) { int i; @@ -278,10 +279,10 @@ void _GSocket_Disable_Events(GSocket *socket) #else /* !wxUSE_SOCKETS */ -/* +/* * Translation unit shouldn't be empty, so include this typedef to make the * compiler (VC++ 6.0, for example) happy */ -typedef (*wxDummy)(); +typedef void (*wxDummy)(); #endif /* wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__) */