summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2020-02-18 14:36:04 +0100
committerRobert Griebl <robert.griebl@qt.io>2020-02-18 14:39:49 +0100
commit6a1553e451890580db06b2c2d4939203ac349f8b (patch)
treec716c04940ffb2ba8822cce089242eee18ee012f
parent202319498b3f9a6d1d7f2e189eb9388687198d0d (diff)
Fix Yocto/MingW build
MingW ships with lower-case header names instead of the camel-case names that MSVC is providing. This is not a problem when building on Windows, but including a camel-cased header fails when doing a MingW cross-build on a Linux machine with a case-sensitive filesystem. Fixes: AUTOSUITE-1484 Change-Id: Iebfc9b58956eb274c3cccee070b4ea4f69e105a3 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
-rw-r--r--src/common-lib/crashhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common-lib/crashhandler.cpp b/src/common-lib/crashhandler.cpp
index 185311eb..250aaa05 100644
--- a/src/common-lib/crashhandler.cpp
+++ b/src/common-lib/crashhandler.cpp
@@ -61,7 +61,7 @@ QT_END_NAMESPACE_AM
#if defined(Q_OS_WINDOWS)
-#include <Windows.h>
+#include <windows.h>
// this will make the constructor run before all other static constructor functions
# pragma warning(push)