aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/stream_flags_decoder.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-12-01 20:04:17 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-12-01 20:55:21 +0200
commit62b270988ec67314d69976df484d2974c6eacfda (patch)
tree62ad7be64862d49fcd14b41366ccedfe4cb0aed1 /src/liblzma/common/stream_flags_decoder.c
parentliblzma: Omit zero-skipping from ARM64 filter. (diff)
downloadxz-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 '')
0 files changed, 0 insertions, 0 deletions