From 9797b353c0c116160b6181ce36cff1b59c4958c7 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 2284cda9..1504fc1b 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 bf3a49c5..76680934 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 a8e7ffba..6177e673 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) // use std::format #include diff --git a/include/spdlog/fmt/ostr.h b/include/spdlog/fmt/ostr.h index 2bb1f28d..077016a4 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 a7a75e66..3fbcded4 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 ae426a08..ef54fb9b 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 499dd797..4e0efd6b 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)