X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/948c96efa139d919e03cfa699d3d4a4258876d82..81853b98619293be66074d74d2557973c0f3ab21:/include/wx/mac/carbon/gsockmac.h diff --git a/include/wx/mac/carbon/gsockmac.h b/include/wx/mac/carbon/gsockmac.h index 570e2db556..de035d0d40 100644 --- a/include/wx/mac/carbon/gsockmac.h +++ b/include/wx/mac/carbon/gsockmac.h @@ -1,8 +1,10 @@ /* ------------------------------------------------------------------------- - * Project: GSocket (Generic Socket) for WX - * Name: gsockunx.h - * Purpose: GSocket Macintosh header - * CVSID: $Id$ + * Project: GSocket (Generic Socket) for WX + * Name: gsockunx.h + * Copyright: (c) Guilhem Lavaux + * Licence: wxWindows Licence + * Purpose: GSocket Macintosh header + * CVSID: $Id$ * ------------------------------------------------------------------------- */ @@ -21,19 +23,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);