diff options
| author | Thomas Huth <thuth@redhat.com> | 2018-12-03 14:33:12 +0100 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2018-12-12 10:01:13 +0100 |
| commit | f773b423cc61f3ca18af5337101c158a52aaae2c (patch) | |
| tree | 44a8fa2b8df8537ad85f1c99bcb3c1815ced6c78 /scripts/cocci-macro-file.h | |
| parent | 65557f5ed9026f288654bfcfb696b581c1ef49c5 (diff) | |
| download | focaccia-qemu-f773b423cc61f3ca18af5337101c158a52aaae2c.tar.gz focaccia-qemu-f773b423cc61f3ca18af5337101c158a52aaae2c.zip | |
includes: Replace QEMU_GNUC_PREREQ with "__has_builtin || !defined(__clang__)"
Since we require GCC version 4.8 or newer now, we can be sure that the builtin functions are always available on GCC. And for Clang, we can check the availablility with __has_builtin instead. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/cocci-macro-file.h')
0 files changed, 0 insertions, 0 deletions