From b1b6a229550dc4e6275f36df77f7c09e2be86232 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Mon, 2 Oct 2023 20:20:44 +0300 Subject: [PATCH] Update fmt.h --- include/spdlog/fmt/fmt.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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