aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-01-06 02:45:07 -0500
committerJustin M. Keyes <justinkz@gmail.com>2016-01-06 02:45:07 -0500
commit0298b004f88acce751e633ae3cd609b74e1b929f (patch)
tree2d978391c83eac0915bde004ae3b8709eb375bd1
parent074d3dc1f365f79e91785d02b2a9756af7a94e23 (diff)
parentbd529ea3f3f96dfc27e3f0f771bbfe550e4e1f5c (diff)
downloadrneovim-0298b004f88acce751e633ae3cd609b74e1b929f.tar.gz
rneovim-0298b004f88acce751e633ae3cd609b74e1b929f.tar.bz2
rneovim-0298b004f88acce751e633ae3cd609b74e1b929f.zip
Merge pull request #3945 from sethjackson/win32-winnt
MinGW: libuv needs -D_WIN32_WINNT=0x0600
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 43f283d8f7..29ef806612 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -197,6 +197,7 @@ endif()
if(MINGW)
# Use POSIX compatible stdio in Mingw
add_definitions(-D__USE_MINGW_ANSI_STDIO)
+ add_definitions(-D_WIN32_WINNT=0x0600)
endif()
# OpenBSD's GCC (4.2.1) doesn't have -Wvla