mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-05-28 23:24:13 +02:00

Clang's __GNUC__ and __GNUC_MINOR__ definitions are not reliable and may not be defined at all when targeting the MSVC ABI. Use feature-checking macros when possible or check for __clang__. [guillem@hadrons.org: Update for __ protected keyword change. ] Signed-off-by: Guillem Jover <guillem@hadrons.org>