Skip to content

Commit ddce421

Browse files
fmt/*.h: include tweakme.h to set SPDLOG_FMT_EXTERNAL according to system (#2923)
Signed-off-by: Marcus Müller <[email protected]>
1 parent 8b331e2 commit ddce421

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

include/spdlog/fmt/chrono.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//
88
// include bundled or external copy of fmtlib's chrono support
99
//
10+
#include <spdlog/tweakme.h>
1011

1112
#if !defined(SPDLOG_USE_STD_FORMAT)
1213
#if !defined(SPDLOG_FMT_EXTERNAL)

include/spdlog/fmt/compile.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//
88
// include bundled or external copy of fmtlib's compile-time support
99
//
10+
#include <spdlog/tweakme.h>
1011

1112
#if !defined(SPDLOG_USE_STD_FORMAT)
1213
#if !defined(SPDLOG_FMT_EXTERNAL)

include/spdlog/fmt/fmt.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// Include a bundled header-only copy of fmtlib or an external one.
1010
// By default spdlog include its own copy.
1111
//
12+
#include <spdlog/tweakme.h>
1213

1314
#if defined(SPDLOG_USE_STD_FORMAT) // SPDLOG_USE_STD_FORMAT is defined - use std::format
1415
#include <format>

include/spdlog/fmt/ostr.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//
88
// include bundled or external copy of fmtlib's ostream support
99
//
10+
#include <spdlog/tweakme.h>
1011

1112
#if !defined(SPDLOG_USE_STD_FORMAT)
1213
#if !defined(SPDLOG_FMT_EXTERNAL)

include/spdlog/fmt/ranges.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//
88
// include bundled or external copy of fmtlib's ranges support
99
//
10+
#include <spdlog/tweakme.h>
1011

1112
#if !defined(SPDLOG_USE_STD_FORMAT)
1213
#if !defined(SPDLOG_FMT_EXTERNAL)

include/spdlog/fmt/std.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// include bundled or external copy of fmtlib's std support (for formatting e.g.
99
// std::filesystem::path, std::thread::id, std::monostate, std::variant, ...)
1010
//
11+
#include <spdlog/tweakme.h>
1112

1213
#if !defined(SPDLOG_USE_STD_FORMAT)
1314
#if !defined(SPDLOG_FMT_EXTERNAL)

include/spdlog/fmt/xchar.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//
88
// include bundled or external copy of fmtlib's xchar support
99
//
10+
#include <spdlog/tweakme.h>
1011

1112
#if !defined(SPDLOG_USE_STD_FORMAT)
1213
#if !defined(SPDLOG_FMT_EXTERNAL)

0 commit comments

Comments
 (0)