]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/gsockmac.h
destroy m_impl even if an exception is thrown from the main loop
[wxWidgets.git] / include / wx / mac / carbon / gsockmac.h
index 49bd37d0332850b20957b3593be905c61920d665..de035d0d4011ae6393fcb702b7e28d152aeb2ee3 100644 (file)
@@ -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$
  * -------------------------------------------------------------------------
  */
 
 #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
 {