Can't build libuv on mingw 4.0 (gcc 4.8.1):
In file included from include/uv-win.h:33:0,
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".