diff options
author | Ray Donnelly <mingw.android@gmail.com> | 2015-05-31 01:27:34 +0100 |
---|---|---|
committer | Ray Donnelly <mingw.android@gmail.com> | 2015-06-01 11:38:37 +0000 |
commit | 5e61c2dfc78c566759ee985e177bf66224ebf106 (patch) | |
tree | a9fa8def1a85f6e02c98acfa59b9cc5dc283c736 /tests | |
parent | 435f6caa1a2db3cd32b2f5294f97b32ee40daa34 (diff) | |
download | qt-creator-5e61c2dfc78c566759ee985e177bf66224ebf106.tar.gz |
MinGW-w64 Utils:: compilation fix
The include for utils/environment.h was omitted
unless Q_OS_MSVC, but the code that uses it is
also compiled for MinGW-w64, so change that compile
guard to Q_OS_WIN instead.
Change-Id: I2fa5a09f1864c0ed38d09e3fbb2c6f661fbc8b26
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/debugger/tst_dumpers.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index c07ca861a7..bec8e9f5b1 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -33,12 +33,14 @@ #include "watchdata.h" #include "watchutils.h" -#ifdef Q_CC_MSVC +#ifdef Q_OS_WIN #include <utils/environment.h> +#ifdef Q_CC_MSVC #include <utils/qtcprocess.h> #include <utils/fileutils.h> #include <utils/synchronousprocess.h> #endif // Q_CC_MSVC +#endif // Q_OS_WIN #include <QtTest> #include <math.h> |