Skip to content

Commit

Permalink
fmt/*.h: include tweakme.h to set SPDLOG_FMT_EXTERNAL according to sy…
Browse files Browse the repository at this point in the history
…stem (gabime#2923)

Signed-off-by: Marcus Müller <[email protected]>
  • Loading branch information
marcusmueller authored Oct 25, 2023
1 parent 8b331e2 commit ddce421
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/spdlog/fmt/chrono.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//
// include bundled or external copy of fmtlib's chrono support
//
#include <spdlog/tweakme.h>

#if !defined(SPDLOG_USE_STD_FORMAT)
#if !defined(SPDLOG_FMT_EXTERNAL)
Expand Down
1 change: 1 addition & 0 deletions include/spdlog/fmt/compile.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//
// include bundled or external copy of fmtlib's compile-time support
//
#include <spdlog/tweakme.h>

#if !defined(SPDLOG_USE_STD_FORMAT)
#if !defined(SPDLOG_FMT_EXTERNAL)
Expand Down
1 change: 1 addition & 0 deletions include/spdlog/fmt/fmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// Include a bundled header-only copy of fmtlib or an external one.
// By default spdlog include its own copy.
//
#include <spdlog/tweakme.h>

#if defined(SPDLOG_USE_STD_FORMAT) // SPDLOG_USE_STD_FORMAT is defined - use std::format
#include <format>
Expand Down
1 change: 1 addition & 0 deletions include/spdlog/fmt/ostr.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//
// include bundled or external copy of fmtlib's ostream support
//
#include <spdlog/tweakme.h>

#if !defined(SPDLOG_USE_STD_FORMAT)
#if !defined(SPDLOG_FMT_EXTERNAL)
Expand Down
1 change: 1 addition & 0 deletions include/spdlog/fmt/ranges.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//
// include bundled or external copy of fmtlib's ranges support
//
#include <spdlog/tweakme.h>

#if !defined(SPDLOG_USE_STD_FORMAT)
#if !defined(SPDLOG_FMT_EXTERNAL)
Expand Down
1 change: 1 addition & 0 deletions include/spdlog/fmt/std.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <spdlog/tweakme.h>

#if !defined(SPDLOG_USE_STD_FORMAT)
#if !defined(SPDLOG_FMT_EXTERNAL)
Expand Down
1 change: 1 addition & 0 deletions include/spdlog/fmt/xchar.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//
// include bundled or external copy of fmtlib's xchar support
//
#include <spdlog/tweakme.h>

#if !defined(SPDLOG_USE_STD_FORMAT)
#if !defined(SPDLOG_FMT_EXTERNAL)
Expand Down

0 comments on commit ddce421

Please sign in to comment.