Replaced defined(__GNUC__) && __GNUC__ >= 7 with FMT_GCC_VERSION >= 700

This commit is contained in:
federico-busato 2019-12-11 13:26:58 +01:00
parent e5c8a69863
commit 151cde0252

View File

@ -72,7 +72,7 @@
#if __cplusplus == 201103L || __cplusplus == 201402L
# if defined(__clang__)
# define FMT_FALLTHROUGH [[clang::fallthrough]];
# elif defined(__GNUC__) && __GNUC__ >= 7
# elif FMT_GCC_VERSION >= 700
# define FMT_FALLTHROUGH [[gnu::fallthrough]];
# else
# define FMT_FALLTHROUGH