include: Add missing definitions in af_irda.h. (try 2)

Alexandre Julliard julliard at winehq.org
Sun Sep 13 05:25:45 CDT 2009


Thomas Trummer <th.trummer at gmail.com> writes:

> Thanks for looking at the patch.
>
> 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...

Grep for each symbol in the system headers. Trying a build is not
enough.

> 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...

You can't include winsock.h, that's not what Windows does.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list