diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2022-12-01 20:04:17 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-12-12 15:47:17 +0200 |
commit | ef315163efdf82e327608ae9b8df1bfea42eb6b5 (patch) | |
tree | 876dc76808e70d7947221a334b674037bd171b35 /debug | |
parent | Update THANKS (sync all from master). (diff) | |
download | xz-ef315163efdf82e327608ae9b8df1bfea42eb6b5.tar.xz |
liblzma: Use __has_attribute(__symver__) to fix Clang detection.
If someone sets up Clang to define __GNUC__ to 10 or greater
then symvers broke. __has_attribute is supported by such GCC
and Clang versions that don't support __symver__ so this should
be much better and simpler way to detect if __symver__ is
actually supported.
Thanks to Tomasz Gajc for the bug report.
Diffstat (limited to 'debug')
0 files changed, 0 insertions, 0 deletions