Can't build libuv on mingw 4.0 (gcc 4.8.1):
In file included from include/uv-win.h:33:0,
from include/uv.h:66,
from src/fs-poll.c:22:
c:\mingw\include\mswsock.h:125:31: error: expected ')' before 'ULONG'
int WSAAPI WSAPoll(WSAPOLLFD, ULONG, INT);
This appears to be due to the missing definition of WSAPOLLFD struct.
Actually there's an existing patch for this, but it looks like nobody had looked at it yet, probably because it's been created with type="Support", rather than "Bug".
Duplicate of [#1980]
Thanks for pointing this out.
Related
Issues: #1980