]> source.dussan.org Git - tigervnc.git/commitdiff
Raise system requirement on Windows to Vista/2008
authorPierre Ossman <ossman@cendio.se>
Thu, 12 Nov 2015 11:17:34 +0000 (12:17 +0100)
committerPierre Ossman <ossman@cendio.se>
Fri, 27 Nov 2015 10:03:28 +0000 (11:03 +0100)
We need the newer versions of Windows to get access to better
thread primitives.

CMakeLists.txt

index d788b602c32f4e8e4628214db5c681e487401347..7fb7b1e60ed0ae33e3e22bdcf31ac1108f345e67 100644 (file)
@@ -84,9 +84,9 @@ if(NOT DEFINED BUILD_WINVNC)
   set(BUILD_WINVNC 1)
 endif()
 
-# Minimum version is Windows XP SP2 (5.2)
+# Minimum version is Windows Vista/2008 (6.0)
 if(WIN32)
-  add_definitions(-D_WIN32_IE=0x0502 -D_WIN32_WINNT=0x0502)
+  add_definitions(-D_WIN32_WINNT=0x0600)
 endif()
 
 if(CMAKE_SIZEOF_VOID_P MATCHES 8)