forked from qt-creator/qt-creator
Use lowercase for Windows header for supporting cross-compilation
Linux mingw uses lowercase headers, so cross-building on Linux for Windows target must use the correct form. Windows is case-insensitive, so it won't affect host-native builds. Change-Id: Ic2140412bb367bbce83b5e2546d70e0936928c5c Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
a4141b8d14
commit
f2f1fc8601
@@ -41,7 +41,7 @@
|
||||
#if defined(Q_OS_UNIX)
|
||||
#include <unistd.h>
|
||||
#elif defined(Q_OS_WIN)
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
namespace QmlDesigner {
|
||||
|
@@ -54,7 +54,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
@@ -31,7 +31,7 @@
|
||||
#include "stringutils.h"
|
||||
#include "symbolgroupvalue.h"
|
||||
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
#ifndef _NO_CVCONST_H
|
||||
#define _NO_CVCONST_H
|
||||
#include <dbghelp.h>
|
||||
|
@@ -36,7 +36,7 @@
|
||||
#include <codecvt>
|
||||
#include <iomanip>
|
||||
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
|
||||
static const char whiteSpace[] = " \t\r\n";
|
||||
|
||||
|
@@ -54,7 +54,7 @@
|
||||
#include <QFileDialog>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
using namespace ProjectExplorer;
|
||||
|
@@ -23,7 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
@@ -31,7 +31,7 @@
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <cstdio>
|
||||
//#include <Windows.h>
|
||||
//#include <windows.h>
|
||||
//#include <linux/version.h>
|
||||
#include "dummy.h"
|
||||
#include "detail/header.h"
|
||||
|
Reference in New Issue
Block a user