diff --git a/include/spdlog/common.h b/include/spdlog/common.h index 07e0ee59..046895a1 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -123,12 +123,14 @@ namespace spdlog { class formatter; - + +#if !defined(SPDLOG_USE_STD_FORMAT) template -#if FMT_VERSION >= 90101 +# if FMT_VERSION >= 90101 using fmt_runtime_string = fmt::runtime_format_string; -#else +# else using fmt_runtime_string = fmt::basic_runtime; +# endif #endif struct source_loc