]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/gsockmac.h
wxStaticBitmap should have transparent background (fixes grey backgrounds
[wxWidgets.git] / include / wx / mac / carbon / gsockmac.h
index 570e2db556c8f66f5ec0b145833443a8dc7b96ec..cb38767cebf4a6adcc378bfce456cdae9cd824e2 100644 (file)
 #include "gsocket.h"
 #endif
 
+#ifndef OTUNIXERRORS
+
 #include <MacHeaders.c>
 #define OTUNIXERRORS 1
+// we get a conflict in OT headers otherwise :
+#undef EDEADLK
 #include <OpenTransport.h>
 #include <OpenTransportProviders.h>
 #include <OpenTptInternet.h>
 
+#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);