• Aaron Dierking's avatar
    Correct Clang feature detection · 7cfa2d45
    Aaron Dierking authored
    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's avatarGuillem Jover <guillem@hadrons.org>
    7cfa2d45
cdefs.h 6.8 KB