X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a84ece11fffdde5d1bbd254ba58ac3cee79c2e77..82805fe2805636891305796658219faa038677a4:/src/msw/gsocket.c diff --git a/src/msw/gsocket.c b/src/msw/gsocket.c index fc5f87c83d..4490c43ada 100644 --- a/src/msw/gsocket.c +++ b/src/msw/gsocket.c @@ -60,12 +60,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 - /* if we use configure for MSW SOCKLEN_T will be already defined */ #ifndef SOCKLEN_T # define SOCKLEN_T int @@ -519,7 +513,7 @@ GSocketError GSocket_Connect(GSocket *sck, GSocketStream stream) /* sck->m_error is set in _GSocket_Connect_Timeout */ } - return err; + return (GSocketError) err; } /* If connect failed with EWOULDBLOCK and the GSocket object