summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2018-07-19 00:07:58 +0300
committerOrgad Shaneh <orgads@gmail.com>2018-07-19 05:44:06 +0000
commit1958c2129e83291f49d4c761c1130af027e508bf (patch)
tree38127e955e1fb99aa019a35076b357bd353fdaa3 /src/tools
parent8fefe0c5914755d4d2fd60adaab3e800010eb28d (diff)
downloadqt-creator-1958c2129e83291f49d4c761c1130af027e508bf.tar.gz
Revert "Windows: Match the name case of included files"
It breaks cross-compilation on linux/mingw. This reverts commit 1c014ed3d9256df0330338b34f1c710efa962cf8. Change-Id: I3e8183ec318541a4393ad242eefbdeaa78b7be44 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/qtcdebugger/main.cpp2
-rw-r--r--src/tools/valgrindfake/outputgenerator.cpp2
-rw-r--r--src/tools/wininterrupt/wininterrupt.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/qtcdebugger/main.cpp b/src/tools/qtcdebugger/main.cpp
index 2bc0a43811..7453c08afc 100644
--- a/src/tools/qtcdebugger/main.cpp
+++ b/src/tools/qtcdebugger/main.cpp
@@ -43,7 +43,7 @@
#include <registryaccess.h>
-#include <Windows.h>
+#include <windows.h>
#include <psapi.h>
#include <app/app_version.h>
diff --git a/src/tools/valgrindfake/outputgenerator.cpp b/src/tools/valgrindfake/outputgenerator.cpp
index a0b7b7a565..d2c944dac7 100644
--- a/src/tools/valgrindfake/outputgenerator.cpp
+++ b/src/tools/valgrindfake/outputgenerator.cpp
@@ -37,7 +37,7 @@
// Yes, this is ugly. But please don't introduce a libUtils dependency
// just to get rid of a single function.
#ifdef Q_OS_WIN
-#include <Windows.h>
+#include <windows.h>
void doSleep(int msec) { ::Sleep(msec); }
#else
#include <time.h>
diff --git a/src/tools/wininterrupt/wininterrupt.c b/src/tools/wininterrupt/wininterrupt.c
index d494a465b4..f15315effa 100644
--- a/src/tools/wininterrupt/wininterrupt.c
+++ b/src/tools/wininterrupt/wininterrupt.c
@@ -31,7 +31,7 @@
#error Must target Windows NT 5.0.1 or later for DebugBreakProcess
#endif
-#include <Windows.h>
+#include <windows.h>
#include <stdio.h>
/* To debug break a 64bit application under Windows, you must call