]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/attr.h: __has_c_attribute(): Define fallback
authorAlejandro Colomar <alx@kernel.org>
Thu, 7 Aug 2025 12:24:13 +0000 (14:24 +0200)
committerSerge Hallyn <serge@hallyn.com>
Sat, 18 Oct 2025 19:08:47 +0000 (14:08 -0500)
commit6d02454bbbe97130a5172211c14932c3a516c122
treeefa8947ad2f4d88aaf33bb25c4e6b661f2d4dc19
parent49a1995049546ffd943953c320c8409082e3d167
lib/attr.h: __has_c_attribute(): Define fallback

This allows using __has_c_attribute() in compilers that don't have it.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/attr.h