[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH for-4.0 7/7] includes: Replace QEMU_GNUC_PREREQ
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH for-4.0 7/7] includes: Replace QEMU_GNUC_PREREQ with "__has_builtin || !defined(__clang__)" |
Date: |
Mon, 3 Dec 2018 10:20:55 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 |
On 12/3/18 8:05 AM, Thomas Huth wrote:
> 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.
>
> Signed-off-by: Thomas Huth <address@hidden>
> ---
> include/qemu/compiler.h | 2 +-
> include/qemu/host-utils.h | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~