From ca8ea73ddba380b81f3e5088d0a8818810dbd083 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Thu, 6 Apr 2017 06:50:42 +0800 Subject: [PATCH] Fix NTDDI_VERSION define Fixup of 5958585e3a6ebc60f48d28cdea60d6913fa13ef8 --- cmake/Modules/winconf.cmake | 2 +- winconf.pri | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/Modules/winconf.cmake b/cmake/Modules/winconf.cmake index 81ddf2867..33f8b9efb 100644 --- a/cmake/Modules/winconf.cmake +++ b/cmake/Modules/winconf.cmake @@ -17,7 +17,7 @@ add_definitions(-DUNICODE -DWIN32 -D_WIN32 -DWIN32_LEAN_AND_MEAN - -DNTDDI_VERSION=0x0501 + -DNTDDI_VERSION=0x05010000 -D_WIN32_WINNT=0x0501 -D_WIN32_IE=0x0500 -D_CRT_SECURE_NO_DEPRECATE diff --git a/winconf.pri b/winconf.pri index 77e43091c..b8859b7bd 100644 --- a/winconf.pri +++ b/winconf.pri @@ -41,7 +41,7 @@ DEFINES += _UNICODE DEFINES += WIN32 DEFINES += _WIN32 DEFINES += WIN32_LEAN_AND_MEAN -DEFINES += NTDDI_VERSION=0x0501 +DEFINES += NTDDI_VERSION=0x05010000 DEFINES += _WIN32_WINNT=0x0501 DEFINES += _WIN32_IE=0x0501 DEFINES += _CRT_SECURE_NO_DEPRECATE