diff --git a/include/fmt/base.h b/include/fmt/base.h index 3bd16fcf..37eb589e 100644 --- a/include/fmt/base.h +++ b/include/fmt/base.h @@ -2803,7 +2803,7 @@ template using is_formattable = bool_constant::value, int*, T>, Char>, void>::value>; -#ifdef __cpp_concepts +#if defined(__cpp_concepts) && __cpp_concepts >= 201907L template concept formattable = is_formattable, Char>::value; #endif