X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/70988afbb1280a637b78a63b6a8697da3565b4ba..cf1a9b45c7b70f217d3cc282ab77df8feaadcdeb:/include/wx/msw/gsockmsw.h?ds=inline diff --git a/include/wx/msw/gsockmsw.h b/include/wx/msw/gsockmsw.h index 16fec0812d..d51271fc3f 100644 --- a/include/wx/msw/gsockmsw.h +++ b/include/wx/msw/gsockmsw.h @@ -28,6 +28,18 @@ extern "C" { #endif +#if !defined(__cplusplus) +typedef int bool; +#endif + +#ifndef TRUE +#define TRUE 1 +#endif + +#ifndef FALSE +#define FALSE 0 +#endif + /* Definition of GSocket */ struct _GSocket { @@ -41,6 +53,7 @@ struct _GSocket bool m_server; bool m_stream; bool m_oriented; + bool m_establishing; struct timeval m_timeout; /* Callbacks */