mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-03-14 10:02:09 +01: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>