Skip to content

Commit

Permalink
remove redundant __has_extension definition in qglobal header
Browse files Browse the repository at this point in the history
Signed-off-by: Ivailo Monev <[email protected]>
  • Loading branch information
fluxer committed Oct 12, 2020
1 parent 757d793 commit 6df70b8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/core/global/qglobal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6df70b8

Please sign in to comment.