summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuhang Zhao <2546789017@qq.com>2021-12-07 16:46:38 +0800
committerYuhang Zhao <2546789017@qq.com>2021-12-09 00:35:09 +0800
commit0f88e79ed80aaf3c02def55c6d507dde17eada60 (patch)
treeb942adb94c87d9db06f83343eeeb99d028416f96
parent493a85a9e468874471057910a61e7c54a45eee83 (diff)
QCoffParser: Replace windows.h with qt_windows.h
Change-Id: I9aeeb2cef4d068020e0c176a70ad86c9e28b0e68 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r--src/corelib/plugin/qcoffpeparser.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/corelib/plugin/qcoffpeparser.cpp b/src/corelib/plugin/qcoffpeparser.cpp
index f258ef5de2..03eca7d2b6 100644
--- a/src/corelib/plugin/qcoffpeparser.cpp
+++ b/src/corelib/plugin/qcoffpeparser.cpp
@@ -45,10 +45,7 @@
#include <optional>
-#define WIN32_LEAN_AND_MEAN
-#include <windows.h>
-#undef min
-#undef max
+#include <qt_windows.h>
QT_BEGIN_NAMESPACE