Commit 7cfa2d45 authored by Aaron Dierking's avatar Aaron Dierking Committed by Guillem Jover

Correct Clang feature detection

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>
parent 574c7a13
Pipeline #1426 passed with stage
in 1 minute and 31 seconds