Thanks for looking at the patch.<br><br>1) Is there a way to ensure that it doesn't conflict with other symbols? I'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"><<a href="mailto:julliard@winehq.org">julliard@winehq.org</a>></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 <<a href="mailto:th.trummer@gmail.com">th.trummer@gmail.com</a>> writes:<br>
<br>
> @@ -97,4 +100,159 @@ typedef struct _SOCKADDR_IRDA<br>
> #define LmCharSetISO_8859_9 0x09<br>
> #define LmCharSetUNICODE 0xff<br>
><br>
> +#define SIO_LAZY_DISCOVERY _IOR('t', 127, ULONG)<br>
> +<br>
> +#define WINDOWS_AF_IRDA 26<br>
> +#define WINDOWS_PF_IRDA WINDOWS_AF_IRDA<br>
> +<br>
> +#define WCE_AF_IRDA 22<br>
> +#define WCE_PF_IRDA WCE_AF_IRDA<br>
> +<br>
> +#ifndef AF_IRDA<br>
> +#define AF_IRDA WINDOWS_AF_IRDA<br>
> +#endif<br>
> +<br>
> +#ifndef PF_IRDA<br>
> +#define PF_IRDA AF_IRDA<br>
> +#endif<br>
> +<br>
> +#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>