diff options
author | Yuhang Zhao <2546789017@qq.com> | 2021-10-17 11:19:48 +0800 |
---|---|---|
committer | Yuhang Zhao <2546789017@qq.com> | 2021-11-11 08:33:05 +0000 |
commit | 7c713c4d2c176dbc4fa7eb0a670aa86e49f36716 (patch) | |
tree | 922210d5c27e246c0a4d27e265293435c6fd563b /tests/benchmarks | |
parent | 18f20ce7288012838be9a3d7511dd06630d62487 (diff) |
Bump WINVER, _WIN32_WINNT and _WIN32_IE to _WIN32_WINNT_WIN10 (0x0A00)
And bump NTDDI_VERSION to 0x0A00000B (NTDDI_WIN10_CO) at the same time,
to unblock the developers from accessing the latest Windows APIs.
Change-Id: Ifbc28c8f8b073866871685c020301f5f20dc9591
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 6652bf2353d807f724f398a15cb22c188830f57c)
Diffstat (limited to 'tests/benchmarks')
-rw-r--r-- | tests/benchmarks/corelib/thread/qmutex/tst_qmutex.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/benchmarks/corelib/thread/qmutex/tst_qmutex.cpp b/tests/benchmarks/corelib/thread/qmutex/tst_qmutex.cpp index 9cea995433..b3a63cfbd8 100644 --- a/tests/benchmarks/corelib/thread/qmutex/tst_qmutex.cpp +++ b/tests/benchmarks/corelib/thread/qmutex/tst_qmutex.cpp @@ -75,7 +75,9 @@ void NativeMutexUnlock(NativeMutexType *mutex) } #endif #elif defined(Q_OS_WIN) -# define _WIN32_WINNT 0x0400 +# if !defined(_WIN32_WINNT) +# define _WIN32_WINNT 0x0A00 +# endif # include <windows.h> typedef CRITICAL_SECTION NativeMutexType; void NativeMutexInitialize(NativeMutexType *mutex) |