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