X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a9c22462aec446d06267ac10b99f1115704b9d1..491b5be8305968871bc289453ed088a70c3de044:/src/msw/gsockmsw.c diff --git a/src/msw/gsockmsw.c b/src/msw/gsockmsw.c index e853b8b1bd..60d54c682c 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 @@ -38,7 +39,7 @@ #include "gsocket.h" /* If not using wxWindows, a global var called hInst must - * be available and it must containt the app's instance + * be available and it must contain the app's instance * handle. */ #define INSTANCE hInst @@ -82,7 +83,7 @@ static int firstAvailable; /* Global initializers */ -bool GSocket_Init(void) +int GSocket_Init(void) { WSADATA wsaData; WNDCLASS winClass; @@ -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,7 +279,7 @@ 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 */