diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2023-01-23 23:38:34 +0200 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-01-24 20:20:40 +0800 |
commit | 8366cf8738e8b7bb74c967d07bf0fd2a1878e575 (patch) | |
tree | 26fa61ba9a0a350544e3358431288eb9a4feb3c5 /src/common/tuklib_physmem.h | |
parent | xz: Flip the return value of suffix_is_set to match the documentation. (diff) | |
download | xz-8366cf8738e8b7bb74c967d07bf0fd2a1878e575.tar.xz |
tuklib_physmem: Clean up the way -Wcast-function-type is silenced on Windows.
__has_warning and other __has_foo macros are meant to become
compiler-agnostic so it's not good to check for __clang__ with it.
This also relied on tuklib_common.h for #defining __has_warning
which was confusing as #defining reserved macros is generally
not a good idea.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions