summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qcompilerdetection.h
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2016-11-24 09:36:06 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2016-11-24 11:18:22 +0000
commit3966ab51ff140f173f1f0c23fa3a9ef985c73d27 (patch)
treef30302c2c40e8d1b30e3ab589917eca5883aa3a2 /src/corelib/global/qcompilerdetection.h
parent0861c2176c6dc1c69b733c1a843c2db5ec8ea786 (diff)
parent4783de0473a288fdff7e5354c12315ba025ec7e0 (diff)
Merge "Merge remote-tracking branch 'origin/5.7' into 5.8" into refs/staging/5.8
Diffstat (limited to 'src/corelib/global/qcompilerdetection.h')
-rw-r--r--src/corelib/global/qcompilerdetection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h
index 0b2345f8d4..d1d5373146 100644
--- a/src/corelib/global/qcompilerdetection.h
+++ b/src/corelib/global/qcompilerdetection.h
@@ -986,6 +986,9 @@
# define Q_COMPILER_THREADSAFE_STATICS
# define Q_COMPILER_UNIFORM_INIT
# endif
+# if _MSC_VER >= 1910
+# define Q_COMPILER_CONSTEXPR
+# endif
# endif /* __cplusplus */
#endif /* Q_CC_MSVC */