From 6df70b83722e42f61290ea97085cd9bb31ad3e3e Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Tue, 13 Oct 2020 02:52:50 +0300 Subject: [PATCH] remove redundant __has_extension definition in qglobal header Signed-off-by: Ivailo Monev --- src/core/global/qglobal.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/core/global/qglobal.h b/src/core/global/qglobal.h index 5552cd34c..d78818356 100644 --- a/src/core/global/qglobal.h +++ b/src/core/global/qglobal.h @@ -288,10 +288,6 @@ QT_USE_NAMESPACE #elif defined(__clang__) # define Q_CC_CLANG -# if !defined(__has_extension) -# /* Compatibility with older Clang versions */ -# define __has_extension __has_feature -# endif # define Q_C_CALLBACKS # define Q_ALIGNOF(type) __alignof__(type) # define Q_TYPEOF(expr) __typeof__(expr)