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 ?
Log in to post a comment.