]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/gsockmac.h
moving all border invalidations into one area, also opening peer access for all
[wxWidgets.git] / include / wx / mac / carbon / gsockmac.h
index 570e2db556c8f66f5ec0b145833443a8dc7b96ec..0b73be833efea8da28759511100619b52f36b773 100644 (file)
 #include "gsocket.h"
 #endif
 
+#ifndef OTUNIXERRORS
+
 #include <MacHeaders.c>
 #define OTUNIXERRORS 1
 #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);