summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-03-28 16:28:46 -0300
committerQt by Nokia <qt-info@nokia.com>2012-04-21 11:19:39 +0200
commitfcec903da7ce0ec2b95d0b1d639885c6fc71f9c3 (patch)
treee7433ec19de9b22d73db3fc35ee3e8cf7c17138a /src/corelib
parentf4227a7b86f073724bb456e075bafb9031844ff1 (diff)
Ensure that qXXXdetection.h can be included directly
Those files might have dependency on one another, on qconfig.h and on early qglobal.h definitions, so ensure that the only correct include order is that of qglobal.h. Change-Id: I89098bacaf16353ee8b51604ee885508dc8e201a Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/global/qcompilerdetection.h4
-rw-r--r--src/corelib/global/qprocessordetection.h4
-rw-r--r--src/corelib/global/qsystemdetection.h4
3 files changed, 12 insertions, 0 deletions
diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h
index 67baf42f8b..e1563b0645 100644
--- a/src/corelib/global/qcompilerdetection.h
+++ b/src/corelib/global/qcompilerdetection.h
@@ -40,6 +40,10 @@
**
****************************************************************************/
+#ifndef QGLOBAL_H
+# include <QtCore/qglobal.h>
+#endif
+
#ifndef QCOMPILERDETECTION_H
#define QCOMPILERDETECTION_H
diff --git a/src/corelib/global/qprocessordetection.h b/src/corelib/global/qprocessordetection.h
index 04e0f19f06..109545c10e 100644
--- a/src/corelib/global/qprocessordetection.h
+++ b/src/corelib/global/qprocessordetection.h
@@ -39,6 +39,10 @@
**
****************************************************************************/
+#ifndef QGLOBAL_H
+# include <QtCore/qglobal.h>
+#endif
+
#ifndef QPROCESSORDETECTION_H
#define QPROCESSORDETECTION_H
diff --git a/src/corelib/global/qsystemdetection.h b/src/corelib/global/qsystemdetection.h
index db5775d021..94ff42a789 100644
--- a/src/corelib/global/qsystemdetection.h
+++ b/src/corelib/global/qsystemdetection.h
@@ -39,6 +39,10 @@
**
****************************************************************************/
+#ifndef QGLOBAL_H
+# include <QtCore/qglobal.h>
+#endif
+
#ifndef QSYSTEMDETECTION_H
#define QSYSTEMDETECTION_H