mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
MinGW: libuv needs -D_WIN32_WINNT=0x0600
Without this compilation fails due to a missing symbol: SRWLOCK in libuv
headers. _WIN32_WINNT defines the Windows header version that is to be used,
and it seems libuv requires this version. See
b471b33da8
This commit is contained in:
parent
074d3dc1f3
commit
bd529ea3f3
@ -197,6 +197,7 @@ endif()
|
|||||||
if(MINGW)
|
if(MINGW)
|
||||||
# Use POSIX compatible stdio in Mingw
|
# Use POSIX compatible stdio in Mingw
|
||||||
add_definitions(-D__USE_MINGW_ANSI_STDIO)
|
add_definitions(-D__USE_MINGW_ANSI_STDIO)
|
||||||
|
add_definitions(-D_WIN32_WINNT=0x0600)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# OpenBSD's GCC (4.2.1) doesn't have -Wvla
|
# OpenBSD's GCC (4.2.1) doesn't have -Wvla
|
||||||
|
Loading…
Reference in New Issue
Block a user