forked from fmtlib/fmt
Fix build for the clang-10 / libstdc++-9 couple (#2491)
This commit is contained in:
committed by
GitHub
parent
ab6e2272cc
commit
c771ba361c
@ -94,7 +94,8 @@
|
|||||||
# define FMT_CONSTEXPR_DECL
|
# define FMT_CONSTEXPR_DECL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if __cplusplus >= 202002L || \
|
#if ((__cplusplus >= 202002L) && \
|
||||||
|
(!defined(_GLIBCXX_RELEASE) || _GLIBCXX_RELEASE > 9)) || \
|
||||||
(__cplusplus >= 201709L && FMT_GCC_VERSION >= 1002)
|
(__cplusplus >= 201709L && FMT_GCC_VERSION >= 1002)
|
||||||
# define FMT_CONSTEXPR20 constexpr
|
# define FMT_CONSTEXPR20 constexpr
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user