Fix clang detection of thread_local variables
The "0" must have been added because there was no __has_feature for the feature back in the day. Now it exists. Change-Id: I50f0544ae82a8be54a8d26da400e31c1906dad9e Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
This commit is contained in:
parent
6901d21c1d
commit
586ab8edb5
@ -584,7 +584,7 @@
|
||||
# if __has_feature(cxx_alias_templates)
|
||||
# define Q_COMPILER_TEMPLATE_ALIAS
|
||||
# endif
|
||||
# if 0 /* not implemented in clang yet */
|
||||
# if __has_feature(cxx_thread_local)
|
||||
# define Q_COMPILER_THREAD_LOCAL
|
||||
# endif
|
||||
# if __has_feature(cxx_user_literals)
|
||||
|
Loading…
x
Reference in New Issue
Block a user