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-01 20:55:21 +0200 |
commit | 62b270988ec67314d69976df484d2974c6eacfda (patch) | |
tree | 62ad7be64862d49fcd14b41366ccedfe4cb0aed1 /tests/files | |
parent | liblzma: Omit zero-skipping from ARM64 filter. (diff) | |
download | xz-62b270988ec67314d69976df484d2974c6eacfda.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 'tests/files')
0 files changed, 0 insertions, 0 deletions