mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
fmt/*.h: include tweakme.h to set SPDLOG_FMT_EXTERNAL according to system (#2923)
Signed-off-by: Marcus Müller <marcus@hostalia.de>
This commit is contained in:
parent
8b331e2cd1
commit
ddce42155e
@ -7,6 +7,7 @@
|
|||||||
//
|
//
|
||||||
// include bundled or external copy of fmtlib's chrono support
|
// include bundled or external copy of fmtlib's chrono support
|
||||||
//
|
//
|
||||||
|
#include <spdlog/tweakme.h>
|
||||||
|
|
||||||
#if !defined(SPDLOG_USE_STD_FORMAT)
|
#if !defined(SPDLOG_USE_STD_FORMAT)
|
||||||
#if !defined(SPDLOG_FMT_EXTERNAL)
|
#if !defined(SPDLOG_FMT_EXTERNAL)
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
//
|
//
|
||||||
// include bundled or external copy of fmtlib's compile-time support
|
// include bundled or external copy of fmtlib's compile-time support
|
||||||
//
|
//
|
||||||
|
#include <spdlog/tweakme.h>
|
||||||
|
|
||||||
#if !defined(SPDLOG_USE_STD_FORMAT)
|
#if !defined(SPDLOG_USE_STD_FORMAT)
|
||||||
#if !defined(SPDLOG_FMT_EXTERNAL)
|
#if !defined(SPDLOG_FMT_EXTERNAL)
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
// Include a bundled header-only copy of fmtlib or an external one.
|
// Include a bundled header-only copy of fmtlib or an external one.
|
||||||
// By default spdlog include its own copy.
|
// 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
|
#if defined(SPDLOG_USE_STD_FORMAT) // SPDLOG_USE_STD_FORMAT is defined - use std::format
|
||||||
#include <format>
|
#include <format>
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
//
|
//
|
||||||
// include bundled or external copy of fmtlib's ostream support
|
// include bundled or external copy of fmtlib's ostream support
|
||||||
//
|
//
|
||||||
|
#include <spdlog/tweakme.h>
|
||||||
|
|
||||||
#if !defined(SPDLOG_USE_STD_FORMAT)
|
#if !defined(SPDLOG_USE_STD_FORMAT)
|
||||||
#if !defined(SPDLOG_FMT_EXTERNAL)
|
#if !defined(SPDLOG_FMT_EXTERNAL)
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
//
|
//
|
||||||
// include bundled or external copy of fmtlib's ranges support
|
// include bundled or external copy of fmtlib's ranges support
|
||||||
//
|
//
|
||||||
|
#include <spdlog/tweakme.h>
|
||||||
|
|
||||||
#if !defined(SPDLOG_USE_STD_FORMAT)
|
#if !defined(SPDLOG_USE_STD_FORMAT)
|
||||||
#if !defined(SPDLOG_FMT_EXTERNAL)
|
#if !defined(SPDLOG_FMT_EXTERNAL)
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
// include bundled or external copy of fmtlib's std support (for formatting e.g.
|
// include bundled or external copy of fmtlib's std support (for formatting e.g.
|
||||||
// std::filesystem::path, std::thread::id, std::monostate, std::variant, ...)
|
// std::filesystem::path, std::thread::id, std::monostate, std::variant, ...)
|
||||||
//
|
//
|
||||||
|
#include <spdlog/tweakme.h>
|
||||||
|
|
||||||
#if !defined(SPDLOG_USE_STD_FORMAT)
|
#if !defined(SPDLOG_USE_STD_FORMAT)
|
||||||
#if !defined(SPDLOG_FMT_EXTERNAL)
|
#if !defined(SPDLOG_FMT_EXTERNAL)
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
//
|
//
|
||||||
// include bundled or external copy of fmtlib's xchar support
|
// include bundled or external copy of fmtlib's xchar support
|
||||||
//
|
//
|
||||||
|
#include <spdlog/tweakme.h>
|
||||||
|
|
||||||
#if !defined(SPDLOG_USE_STD_FORMAT)
|
#if !defined(SPDLOG_USE_STD_FORMAT)
|
||||||
#if !defined(SPDLOG_FMT_EXTERNAL)
|
#if !defined(SPDLOG_FMT_EXTERNAL)
|
||||||
|
Loading…
Reference in New Issue
Block a user