mirror of
https://github.com/fmtlib/fmt.git
synced 2025-12-08 01:36:53 +08:00
Fix build for the clang-10 / libstdc++-9 couple (#2491)
This commit is contained in:
parent
ab6e2272cc
commit
c771ba361c
@ -94,7 +94,8 @@
|
||||
# define FMT_CONSTEXPR_DECL
|
||||
#endif
|
||||
|
||||
#if __cplusplus >= 202002L || \
|
||||
#if ((__cplusplus >= 202002L) && \
|
||||
(!defined(_GLIBCXX_RELEASE) || _GLIBCXX_RELEASE > 9)) || \
|
||||
(__cplusplus >= 201709L && FMT_GCC_VERSION >= 1002)
|
||||
# define FMT_CONSTEXPR20 constexpr
|
||||
#else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user