mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-27 12:38:37 +00:00
Fix a compile error introduced in #1738
This commit is contained in:
parent
4e94c649f9
commit
978521bb81
@ -72,8 +72,8 @@
|
|||||||
#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 FMT_GCC_VERSION >= 700 && !defined(__PGI)
|
# elif FMT_GCC_VERSION >= 700 && !defined(__PGI) && \
|
||||||
&& (!defined(__EDG_VERSION__) || __EDG_VERSION__ >= 520)
|
(!defined(__EDG_VERSION__) || __EDG_VERSION__ >= 520)
|
||||||
# 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