From ddce42155e67589a8b1534c4935242f759c07646 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20M=C3=BCller?= Date: Wed, 25 Oct 2023 18:22:39 +0200 Subject: [PATCH] fmt/*.h: include tweakme.h to set SPDLOG_FMT_EXTERNAL according to system (#2923) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcus Müller --- include/spdlog/fmt/chrono.h | 1 + include/spdlog/fmt/compile.h | 1 + include/spdlog/fmt/fmt.h | 1 + include/spdlog/fmt/ostr.h | 1 + include/spdlog/fmt/ranges.h | 1 + include/spdlog/fmt/std.h | 1 + include/spdlog/fmt/xchar.h | 1 + 7 files changed, 7 insertions(+) diff --git a/include/spdlog/fmt/chrono.h b/include/spdlog/fmt/chrono.h index 2959890c..a72a5bd6 100644 --- a/include/spdlog/fmt/chrono.h +++ b/include/spdlog/fmt/chrono.h @@ -7,6 +7,7 @@ // // include bundled or external copy of fmtlib's chrono support // +#include #if !defined(SPDLOG_USE_STD_FORMAT) #if !defined(SPDLOG_FMT_EXTERNAL) diff --git a/include/spdlog/fmt/compile.h b/include/spdlog/fmt/compile.h index 6a01489a..3c9c25d8 100644 --- a/include/spdlog/fmt/compile.h +++ b/include/spdlog/fmt/compile.h @@ -7,6 +7,7 @@ // // include bundled or external copy of fmtlib's compile-time support // +#include #if !defined(SPDLOG_USE_STD_FORMAT) #if !defined(SPDLOG_FMT_EXTERNAL) diff --git a/include/spdlog/fmt/fmt.h b/include/spdlog/fmt/fmt.h index ae86940c..a83ff2c9 100644 --- a/include/spdlog/fmt/fmt.h +++ b/include/spdlog/fmt/fmt.h @@ -9,6 +9,7 @@ // Include a bundled header-only copy of fmtlib or an external one. // By default spdlog include its own copy. // +#include #if defined(SPDLOG_USE_STD_FORMAT) // SPDLOG_USE_STD_FORMAT is defined - use std::format #include diff --git a/include/spdlog/fmt/ostr.h b/include/spdlog/fmt/ostr.h index 40202b51..2b901055 100644 --- a/include/spdlog/fmt/ostr.h +++ b/include/spdlog/fmt/ostr.h @@ -7,6 +7,7 @@ // // include bundled or external copy of fmtlib's ostream support // +#include #if !defined(SPDLOG_USE_STD_FORMAT) #if !defined(SPDLOG_FMT_EXTERNAL) diff --git a/include/spdlog/fmt/ranges.h b/include/spdlog/fmt/ranges.h index 684476bd..5bb91e9a 100644 --- a/include/spdlog/fmt/ranges.h +++ b/include/spdlog/fmt/ranges.h @@ -7,6 +7,7 @@ // // include bundled or external copy of fmtlib's ranges support // +#include #if !defined(SPDLOG_USE_STD_FORMAT) #if !defined(SPDLOG_FMT_EXTERNAL) diff --git a/include/spdlog/fmt/std.h b/include/spdlog/fmt/std.h index 47fc4026..dabe6f69 100644 --- a/include/spdlog/fmt/std.h +++ b/include/spdlog/fmt/std.h @@ -8,6 +8,7 @@ // include bundled or external copy of fmtlib's std support (for formatting e.g. // std::filesystem::path, std::thread::id, std::monostate, std::variant, ...) // +#include #if !defined(SPDLOG_USE_STD_FORMAT) #if !defined(SPDLOG_FMT_EXTERNAL) diff --git a/include/spdlog/fmt/xchar.h b/include/spdlog/fmt/xchar.h index 87408d25..2525f058 100644 --- a/include/spdlog/fmt/xchar.h +++ b/include/spdlog/fmt/xchar.h @@ -7,6 +7,7 @@ // // include bundled or external copy of fmtlib's xchar support // +#include #if !defined(SPDLOG_USE_STD_FORMAT) #if !defined(SPDLOG_FMT_EXTERNAL)