[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: include: Add missing definitions in af_irda.h. (try 2)
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2009-08-29 16:19:14
Message-ID: 874orq61a5.fsf () wine ! dyndns ! org
[Download RAW message or body]

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

> @@ -97,4 +100,159 @@ typedef struct _SOCKADDR_IRDA
>  #define LmCharSetISO_8859_9 0x09
>  #define LmCharSetUNICODE    0xff
>  
> +#define SIO_LAZY_DISCOVERY  _IOR('t', 127, ULONG)
> +
> +#define WINDOWS_AF_IRDA                       26
> +#define WINDOWS_PF_IRDA          WINDOWS_AF_IRDA
> +
> +#define WCE_AF_IRDA                           22
> +#define WCE_PF_IRDA                  WCE_AF_IRDA
> +
> +#ifndef AF_IRDA
> +#define AF_IRDA                  WINDOWS_AF_IRDA
> +#endif
> +
> +#ifndef PF_IRDA
> +#define PF_IRDA                          AF_IRDA
> +#endif
> +
> +#define IRDA_PROTO_SOCK_STREAM                 1

You need a WS prefix on all definitions that can conflict with Unix.

-- 
Alexandre Julliard
julliard@winehq.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic