Avoid undefined macro warning for __GXX_EXPERIMENTAL_CXX0X__.

The GCC use of this is already correct.

Change-Id: I28650196c7a325b552117fe2f2014ad7d6b365c2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Stephen Kelly 2012-05-02 13:15:16 +02:00 committed by Qt by Nokia
parent c0f0a7825e
commit 8dd66f42e8
1 changed files with 1 additions and 1 deletions

View File

@ -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