HomeFreeBSD

<linux/overflow.h>: Don't use __has_builtin().

Description

<linux/overflow.h>: Don't use __has_builtin().

GCC only added support for __has_builtin in GCC 10. However, all
supported versions of GCC and clang include these builtins so just use
them unconditionally.

This fixes the build with GCC 9.

Reviewed by: manu, hselasky, imp
Differential Revision: https://reviews.freebsd.org/D31942

(cherry picked from commit 9553c6af881e1f869cecb11b4476279e0ed6c4e0)

Details

Provenance
jhbAuthored on Sep 15 2021, 4:03 PM
Reviewer
manu
Differential Revision
D31942: <linux/overflow.h>: Don't use __has_builtin().
Parents
rG3200378545f9: Remove nonexistent include path for arm64 crypto files.
Branches
Unknown
Tags
Unknown