From 504a644862991b627e87a581c00de476c4ecc153 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sat, 7 Sep 2013 14:33:17 -0700 Subject: [PATCH] ICC 13.0 supports atomics See http://software.intel.com/en-us/articles/c0x-features-supported-by-intel-c-compiler Change-Id: I45ba6aa640f82df4d06fd4412264892bfd58ffc3 Reviewed-by: Stephen Kelly --- src/corelib/global/qcompilerdetection.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h index ffd25ed07d..5306e432fd 100644 --- a/src/corelib/global/qcompilerdetection.h +++ b/src/corelib/global/qcompilerdetection.h @@ -491,6 +491,7 @@ # define Q_COMPILER_VARIADIC_TEMPLATES # endif # if __INTEL_COMPILER >= 1300 +# define Q_COMPILER_ATOMICS // constexpr support is only partial //# define Q_COMPILER_CONSTEXPR # define Q_COMPILER_INITIALIZER_LISTS