From 4e6cf15a0953900d37b12c383a23e5d810e1f7f2 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Fri, 29 Jun 2012 14:34:17 +0200 Subject: [PATCH] Fix compiler warning about __GXX_EXPERIMENTAL_CXX0X__ being undefined. --- src/core/Global.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Global.h b/src/core/Global.h index 7c0f1e283..bb610b820 100644 --- a/src/core/Global.h +++ b/src/core/Global.h @@ -25,7 +25,7 @@ #include #ifdef Q_CC_CLANG -# if __cplusplus >= 201103L || __GXX_EXPERIMENTAL_CXX0X__ +# if defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L # if ((__clang_major__ * 100) + __clang_minor__) >= 209 /* since clang 2.9 */ # define COMPILER_DECLTYPE # endif