X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/948c96efa139d919e03cfa699d3d4a4258876d82..5b2e23bff681066c84c85399ed9a3183a7a40465:/include/wx/mac/carbon/gsockmac.h diff --git a/include/wx/mac/carbon/gsockmac.h b/include/wx/mac/carbon/gsockmac.h index 570e2db556..cb38767ceb 100644 --- a/include/wx/mac/carbon/gsockmac.h +++ b/include/wx/mac/carbon/gsockmac.h @@ -21,19 +21,25 @@ #include "gsocket.h" #endif +#ifndef OTUNIXERRORS + #include #define OTUNIXERRORS 1 +// we get a conflict in OT headers otherwise : +#undef EDEADLK #include #include #include +#endif + /* Definition of GSocket */ class GSocket { public: GSocket(); ~GSocket(); - bool IsOK() { return m_ok; } + bool IsOk() { return m_ok; } void Shutdown(); GSocketError SetLocal(GAddress *address);