File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD
79
79
// If the compiler has no concepts support, the format header will be disabled.
80
80
// Without concepts support enable_if needs to be used and that too much effort
81
81
// to support compilers with partial C++20 support.
82
- #ifndef _LIBCPP_HAS_NO_CONCEPTS
82
+ #if !defined( _LIBCPP_HAS_NO_CONCEPTS) && !defined(_LIBCPP_HAS_NO_BUILTIN_IS_CONSTANT_EVALUATED)
83
83
84
84
class _LIBCPP_EXCEPTION_ABI format_error : public runtime_error {
85
85
public:
@@ -172,7 +172,7 @@ private:
172
172
using format_parse_context = basic_format_parse_context<char >;
173
173
using wformat_parse_context = basic_format_parse_context<wchar_t >;
174
174
175
- #endif // _LIBCPP_HAS_NO_CONCEPTS
175
+ #endif // !defined( _LIBCPP_HAS_NO_CONCEPTS) && !defined(_LIBCPP_HAS_NO_BUILTIN_IS_CONSTANT_EVALUATED)
176
176
#endif // _LIBCPP_STD_VER > 17
177
177
178
178
_LIBCPP_END_NAMESPACE_STD
You can’t perform that action at this time.
0 commit comments