diff --git a/src/core/include/mp-units/format.h b/src/core/include/mp-units/format.h index 14e2c728..061f676c 100644 --- a/src/core/include/mp-units/format.h +++ b/src/core/include/mp-units/format.h @@ -265,7 +265,7 @@ public: // subentity-id ::= 'N' | 'U' | 'D' // format-spec ::= // -#if __cpp_lib_format_ranges +#if __cpp_lib_format_ranges && !MP_UNITS_USE_FMTLIB template Rep> #else template