X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3fbcc7fce5cb170b1a7cbc9c22299e44152cb1f7..85b43fbf7a512ea49cf491320c458bec705762ed:/src/msw/gsockmsw.c diff --git a/src/msw/gsockmsw.c b/src/msw/gsockmsw.c index 0d9c591cb6..32131c214a 100644 --- a/src/msw/gsockmsw.c +++ b/src/msw/gsockmsw.c @@ -55,12 +55,6 @@ #include -/* don't use C++ TRUE/FALSE definition which we get from wx/defs.h */ -#undef TRUE -#undef FALSE -#define TRUE 1 -#define FALSE 0 - #ifdef _MSC_VER # pragma warning(default:4115) /* named type definition in parentheses */ #endif @@ -194,7 +188,7 @@ LRESULT CALLBACK _GSocket_Internal_WinProc(HWND hWnd, { EnterCriticalSection(&critical); socket = socketList[(uMsg - WM_USER)]; - event = -1; + event = (GSocketEvent) -1; cback = NULL; data = NULL;