diff options
author | Karel Zak | 2019-05-21 16:27:17 +0200 |
---|---|---|
committer | Karel Zak | 2019-05-21 16:27:17 +0200 |
commit | 34b0a305f6a86b18ce7c4ca2f9fc71dc89d6e1d4 (patch) | |
tree | 891a13884bb8627eadb29e6c6a83e3de25054b9a /disk-utils/mkfs.minix.8 | |
parent | bash-completion: add hardlink completion (diff) | |
download | kernel-qcow2-util-linux-34b0a305f6a86b18ce7c4ca2f9fc71dc89d6e1d4.tar.gz kernel-qcow2-util-linux-34b0a305f6a86b18ce7c4ca2f9fc71dc89d6e1d4.tar.xz kernel-qcow2-util-linux-34b0a305f6a86b18ce7c4ca2f9fc71dc89d6e1d4.zip |
include/c: use __has_attribute
The __has macros are more portable (supported by gcc as well as
clang).
The old __GNUC_PREREQ is deprecated and it should be removed in
future. (Well, the __has macros are supported since gcc 5, so we
should be patient as some old stable distros (e.g. RHEL 7) use gcc
4.x).
This patch helps clang to correctly analyze our xalloc.h stuff.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/mkfs.minix.8')
0 files changed, 0 insertions, 0 deletions