Browse Source

Add NTDDI_VERSION define

adaptive-webui-19844
Chocobo1 8 years ago
parent
commit
5958585e3a
  1. 1
      cmake/Modules/winconf.cmake
  2. 1
      winconf.pri

1
cmake/Modules/winconf.cmake

@ -17,6 +17,7 @@ add_definitions(-DUNICODE @@ -17,6 +17,7 @@ add_definitions(-DUNICODE
-DWIN32
-D_WIN32
-DWIN32_LEAN_AND_MEAN
-DNTDDI_VERSION=0x0501
-D_WIN32_WINNT=0x0501
-D_WIN32_IE=0x0500
-D_CRT_SECURE_NO_DEPRECATE

1
winconf.pri

@ -37,6 +37,7 @@ DEFINES += _UNICODE @@ -37,6 +37,7 @@ DEFINES += _UNICODE
DEFINES += WIN32
DEFINES += _WIN32
DEFINES += WIN32_LEAN_AND_MEAN
DEFINES += NTDDI_VERSION=0x0501
DEFINES += _WIN32_WINNT=0x0501
DEFINES += _WIN32_IE=0x0501
DEFINES += _CRT_SECURE_NO_DEPRECATE

Loading…
Cancel
Save