[1/2] include: Add stuff related to WSAPoll()

Bruno Jesus 00cpxxx at gmail.com
Thu May 21 22:14:50 CDT 2015


On Thu, May 21, 2015 at 5:11 PM, Bruno Jesus <00cpxxx at gmail.com> wrote:
> Please ignore the series, it seems to break ws2_32 due to multiple
> definitions for struct pollfd. Any ideas what can I do to fix this?
> Like what #ifdef could be used to prevent it?

Would this be acceptable?

#ifdef __WINESRC__
typedef struct ws_pollfd
#else
typedef struct pollfd
#endif
{
    SOCKET fd;
    SHORT events;
    SHORT revents;
} WSAPOLLFD;

Bruno



More information about the wine-devel mailing list