Fix build for the clang-10 / libstdc++-9 couple ()

This commit is contained in:
Jean-Michaël Celerier 2021-09-07 17:52:34 +02:00 committed by GitHub
parent ab6e2272cc
commit c771ba361c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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