diff --git a/include/spdlog/fmt/fmt.h b/include/spdlog/fmt/fmt.h index 50cb9aed..8abc3354 100644 --- a/include/spdlog/fmt/fmt.h +++ b/include/spdlog/fmt/fmt.h @@ -10,12 +10,12 @@ // By default, spdlog include its own copy. // -#if defined(SPDLOG_USE_STD_FORMAT) // SPDLOG_USE_STD_FORMAT is defined - use std::format +#if defined(SPDLOG_USE_STD_FORMAT) // use std::format #include -#elif !defined(SPDLOG_FMT_EXTERNAL) - #include "bundled/core.h" - #include "bundled/format.h" -#else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib +#elif defined(SPDLOG_FMT_EXTERNAL) // use external {fmt} lib #include #include +#else // use bundled {fmt} lib + #include "bundled/core.h" + #include "bundled/format.h" #endif