Thanks for looking at the patch.<br><br>1) Is there a way to ensure that it doesn&#39;t conflict with other symbols? I&#39;ve created a small test program that includes the Linux Irda headers which works fine for Linux but I have no idea about the Mac...<br>
<br>2) About the AF_IRDA et al. symbols: These are already defined in the winsock headers, so there are two options: Remove them and include the winsock header (this would also get rid of the USE_WS macros) or leave them in and add the WS_ prefix appropriately. I would create a new version of the patch accordingly...<br>
<br>Tom<br><br><div class="gmail_quote">2009/8/29 Alexandre Julliard <span dir="ltr">&lt;<a href="mailto:julliard@winehq.org">julliard@winehq.org</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thomas Trummer &lt;<a href="mailto:th.trummer@gmail.com">th.trummer@gmail.com</a>&gt; writes:<br>
<br>
&gt; @@ -97,4 +100,159 @@ typedef struct _SOCKADDR_IRDA<br>
&gt;  #define LmCharSetISO_8859_9 0x09<br>
&gt;  #define LmCharSetUNICODE    0xff<br>
&gt;<br>
&gt; +#define SIO_LAZY_DISCOVERY  _IOR(&#39;t&#39;, 127, ULONG)<br>
&gt; +<br>
&gt; +#define WINDOWS_AF_IRDA                       26<br>
&gt; +#define WINDOWS_PF_IRDA          WINDOWS_AF_IRDA<br>
&gt; +<br>
&gt; +#define WCE_AF_IRDA                           22<br>
&gt; +#define WCE_PF_IRDA                  WCE_AF_IRDA<br>
&gt; +<br>
&gt; +#ifndef AF_IRDA<br>
&gt; +#define AF_IRDA                  WINDOWS_AF_IRDA<br>
&gt; +#endif<br>
&gt; +<br>
&gt; +#ifndef PF_IRDA<br>
&gt; +#define PF_IRDA                          AF_IRDA<br>
&gt; +#endif<br>
&gt; +<br>
&gt; +#define IRDA_PROTO_SOCK_STREAM                 1<br>
<br>
You need a WS prefix on all definitions that can conflict with Unix.<br>
<font color="#888888"><br>
--<br>
Alexandre Julliard<br>
<a href="mailto:julliard@winehq.org">julliard@winehq.org</a><br>
</font></blockquote></div><br>