diff --git a/tools/auto-tester/src/TestRunner.cpp b/tools/auto-tester/src/TestRunner.cpp index 4ceb812905..6e03850c88 100644 --- a/tools/auto-tester/src/TestRunner.cpp +++ b/tools/auto-tester/src/TestRunner.cpp @@ -532,7 +532,7 @@ void TestRunner::parseBuildInformation() { QString platformOfInterest; #ifdef Q_OS_WIN platformOfInterest = "windows"; -#elif Q_OS_MAC +#elif defined(Q_OS_MAC) platformOfInterest = "mac"; #endif QDomElement element = domDocument.documentElement();