summaryrefslogtreecommitdiffstats
path: root/include/exitcodes.h
diff options
context:
space:
mode:
authorKarel Zak2019-05-21 16:27:17 +0200
committerKarel Zak2019-05-21 16:27:17 +0200
commit34b0a305f6a86b18ce7c4ca2f9fc71dc89d6e1d4 (patch)
tree891a13884bb8627eadb29e6c6a83e3de25054b9a /include/exitcodes.h
parentbash-completion: add hardlink completion (diff)
downloadkernel-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 'include/exitcodes.h')
0 files changed, 0 insertions, 0 deletions