summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJürgen Hunold <jhunold@gmx.eu>2018-03-26 12:14:50 +0200
committerJürgen Hunold <jhunold@gmx.eu>2018-03-28 18:18:05 +0000
commitee6164942d21e7db5b5a6520cb0dbe1b9d631b21 (patch)
treedee39ec23315f8b5b3aa06658ef8308a04513d15
parente3cf2a1ae959b69957c98f4b9213c4cbc632e888 (diff)
Allow compilation with clang-cl disguised as cl
Task-number: QTBUG-63512 Change-Id: I7e0c4e144262a175c39508090c935c73186fac65 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-rw-r--r--src/plugins/platforms/windows/qwin10helpers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/windows/qwin10helpers.cpp b/src/plugins/platforms/windows/qwin10helpers.cpp
index ac6a34d7c2..5976fd23c0 100644
--- a/src/plugins/platforms/windows/qwin10helpers.cpp
+++ b/src/plugins/platforms/windows/qwin10helpers.cpp
@@ -43,7 +43,7 @@
#include <QtCore/QOperatingSystemVersion>
#include <QtCore/private/qsystemlibrary_p.h>
-#if defined(Q_CC_MINGW)
+#if defined(Q_CC_MINGW) || defined(Q_CC_CLANG)
# define HAS_UI_VIEW_SETTINGS_INTEROP
// Present from MSVC2015 + SDK 10 onwards
#elif (!defined(Q_CC_MSVC) || _MSC_VER >= 1900) && NTDDI_VERSION >= 0xa000000