[1/3] include: Add stuff related to WSAPoll() (try 2)
Alexandre Julliard
julliard at winehq.org
Tue May 26 08:59:27 CDT 2015
Bruno Jesus <00cpxxx at gmail.com> writes:
> try 2:
> I found the solution to typedef the struct pollfd just like it's done
> with fd_set.
Unfortunately that doesn't work on mingw:
In file included from ../../../wine/include/winsock2.h:50:0,
from ../../../wine/include/ws2tcpip.h:22,
from ../../../wine/dlls/jsproxy/main.c:34:
../../../wine/include/winsock2.h:287:19: error: redefinition of ‘struct pollfd’
../../../wine/include/ws2def.h:27:18: note: in definition of macro ‘WS’
In file included from ../../../wine/dlls/jsproxy/main.c:20:0:
../../../wine/include/wine/port.h:284:8: note: originally defined here
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list