]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/gsockmac.h
Applied patch [ 1181975 ] [wxMSW] Removes all flicker from wxNotebook
[wxWidgets.git] / include / wx / mac / carbon / gsockmac.h
index 49bd37d0332850b20957b3593be905c61920d665..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
 {