From 8dd66f42e834320c4ba0a6f2e45855d591b3b6e7 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Wed, 2 May 2012 13:15:16 +0200 Subject: [PATCH] Avoid undefined macro warning for __GXX_EXPERIMENTAL_CXX0X__. The GCC use of this is already correct. Change-Id: I28650196c7a325b552117fe2f2014ad7d6b365c2 Reviewed-by: Thiago Macieira --- src/corelib/global/qcompilerdetection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h index 3f51f8c0b4..e2dd16f7a0 100644 --- a/src/corelib/global/qcompilerdetection.h +++ b/src/corelib/global/qcompilerdetection.h @@ -511,7 +511,7 @@ # define QT_NO_RTTI # endif /* C++11 features, see http://clang.llvm.org/cxx_status.html */ -# if __cplusplus >= 201103L || __GXX_EXPERIMENTAL_CXX0X__ +# if __cplusplus >= 201103L || defined(__GXX_EXPERIMENTAL_CXX0X__) # if ((__clang_major__ * 100) + __clang_minor__) >= 209 /* since clang 2.9 */ # define Q_COMPILER_AUTO_TYPE # define Q_COMPILER_DECLTYPE