Browse Source

Merge pull request #6599 from Chocobo1/defines

Fix NTDDI_VERSION define
adaptive-webui-19844
sledgehammer999 8 years ago committed by GitHub
parent
commit
fe056e7fc0
  1. 4
      cmake/Modules/winconf.cmake
  2. 2
      winconf.pri

4
cmake/Modules/winconf.cmake

@ -17,9 +17,9 @@ add_definitions(-DUNICODE @@ -17,9 +17,9 @@ 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_WIN32_IE=0x0501
-D_CRT_SECURE_NO_DEPRECATE
-D_SCL_SECURE_NO_DEPRECATE
)

2
winconf.pri

@ -41,7 +41,7 @@ DEFINES += _UNICODE @@ -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

Loading…
Cancel
Save