mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-29 08:44:06 +08:00
Update fmt.h
This commit is contained in:
parent
7ba9a04fae
commit
b1b6a22955
@ -10,12 +10,12 @@
|
|||||||
// By default, spdlog include its own copy.
|
// By default, spdlog include its own copy.
|
||||||
//
|
//
|
||||||
|
|
||||||
#if defined(SPDLOG_USE_STD_FORMAT) // SPDLOG_USE_STD_FORMAT is defined - use std::format
|
#if defined(SPDLOG_USE_STD_FORMAT) // use std::format
|
||||||
#include <format>
|
#include <format>
|
||||||
#elif !defined(SPDLOG_FMT_EXTERNAL)
|
#elif defined(SPDLOG_FMT_EXTERNAL) // use external {fmt} lib
|
||||||
#include "bundled/core.h"
|
|
||||||
#include "bundled/format.h"
|
|
||||||
#else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib
|
|
||||||
#include <fmt/core.h>
|
#include <fmt/core.h>
|
||||||
#include <fmt/format.h>
|
#include <fmt/format.h>
|
||||||
|
#else // use bundled {fmt} lib
|
||||||
|
#include "bundled/core.h"
|
||||||
|
#include "bundled/format.h"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user