diff options
author | Cristian Adam <cristian.adam@qt.io> | 2019-10-23 09:26:31 +0200 |
---|---|---|
committer | Cristian Adam <cristian.adam@qt.io> | 2019-10-31 11:45:20 +0000 |
commit | 6c25049019a4c83713621e91f6f175b03f32c369 (patch) | |
tree | 9eeb9d3eb2cd8910884c0fd28c6629e3f374eafe /src/libs/utils/process_ctrlc_stub.cpp | |
parent | 479def8190b51025f7788da1dd8e6ec60df2e975 (diff) |
Windows: Remove explicit usage of _WIN32_WINNT and WINVER macros
The are set in a central place, in the precompile header file.
Or as DEFAULT_DEFINES when the precompile header file is not used.
Change-Id: Ie020f916b64eabcd5a8153f4be5474986f5afed5
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/libs/utils/process_ctrlc_stub.cpp')
-rw-r--r-- | src/libs/utils/process_ctrlc_stub.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libs/utils/process_ctrlc_stub.cpp b/src/libs/utils/process_ctrlc_stub.cpp index e5469e208d2..951c1352652 100644 --- a/src/libs/utils/process_ctrlc_stub.cpp +++ b/src/libs/utils/process_ctrlc_stub.cpp @@ -36,7 +36,10 @@ #define _WIN32_WINNT 0x0501 #endif +#ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN +#endif + #include <windows.h> #include <shellapi.h> #include <wchar.h> |