X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d6d6a882d4d8ea0d7ef706a45fa92b96f34c94c7..7c11806499166993dffcbb99139d5b248a2c6c82:/include/wx/msw/gsockmsw.h diff --git a/include/wx/msw/gsockmsw.h b/include/wx/msw/gsockmsw.h index ea9a40bd1b..346a23c4c1 100644 --- a/include/wx/msw/gsockmsw.h +++ b/include/wx/msw/gsockmsw.h @@ -23,12 +23,8 @@ #include "wx/msw/wrapwin.h" -#ifndef TRUE -#define TRUE 1 -#endif - -#ifndef FALSE -#define FALSE 0 +#if defined(__WXWINCE__) +#include #endif class GSocketGUIFunctionsTableConcrete: public GSocketGUIFunctionsTable @@ -58,7 +54,7 @@ public: GAddress *GetPeer(); GSocketError SetServer(); GSocket *WaitConnection(); - int SetReusable(); + bool SetReusable(); GSocketError Connect(GSocketStream stream); GSocketError SetNonOriented(); int Read(char *buffer, int size); @@ -92,11 +88,11 @@ public: GSocketError m_error; /* Attributes */ - int m_non_blocking; - int m_server; - int m_stream; - int m_establishing; - int m_reusable; + bool m_non_blocking; + bool m_server; + bool m_stream; + bool m_establishing; + bool m_reusable; struct timeval m_timeout; /* Callbacks */