Can't build libuv on mingw 4.0 (gcc 4.8.1):
src/win/pipe.c: In function 'uv_stdio_pipe_server':
src/win/pipe.c:171:39: error: 'FILE_FLAG_FIRST_PIPE_INSTANCE' undeclared (first use in this function)
access | FILE_FLAG_OVERLAPPED | FILE_FLAG_FIRST_PIPE_INSTANCE,
FILE_FLAG_FIRST_PIPE_INSTANCE is declared in winbase.h, but conditioned on #if (NTDDK_VERSION >= NTDDI_WIN2KSP2).
NTDDK_VERSION is not defined at that point, and, in fact, does not appear anywhere else in mingw system headers. Probably a misspelling of NTDDI_VERSION ?
Thanks.
I'll upload a 4.0.3 to fix the typo sometime this weekend. I'm on the road and the motel vpn is slow and unreliable to be uploading the files or I would do it today.
This is resolved in the repository. It is pending an upload of 4.0.3.