Replaced defined(__GNUC__) && __GNUC__ >= 7 with FMT_GCC_VERSION >= 700
This commit is contained in:
parent
e5c8a69863
commit
151cde0252
@ -72,7 +72,7 @@
|
|||||||
#if __cplusplus == 201103L || __cplusplus == 201402L
|
#if __cplusplus == 201103L || __cplusplus == 201402L
|
||||||
# if defined(__clang__)
|
# if defined(__clang__)
|
||||||
# define FMT_FALLTHROUGH [[clang::fallthrough]];
|
# define FMT_FALLTHROUGH [[clang::fallthrough]];
|
||||||
# elif defined(__GNUC__) && __GNUC__ >= 7
|
# elif FMT_GCC_VERSION >= 700
|
||||||
# define FMT_FALLTHROUGH [[gnu::fallthrough]];
|
# define FMT_FALLTHROUGH [[gnu::fallthrough]];
|
||||||
# else
|
# else
|
||||||
# define FMT_FALLTHROUGH
|
# define FMT_FALLTHROUGH
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user