mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-27 16:09:05 +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.
|
||||
//
|
||||
|
||||
#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>
|
||||
#elif !defined(SPDLOG_FMT_EXTERNAL)
|
||||
#include "bundled/core.h"
|
||||
#include "bundled/format.h"
|
||||
#else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib
|
||||
#elif defined(SPDLOG_FMT_EXTERNAL) // use external {fmt} lib
|
||||
#include <fmt/core.h>
|
||||
#include <fmt/format.h>
|
||||
#else // use bundled {fmt} lib
|
||||
#include "bundled/core.h"
|
||||
#include "bundled/format.h"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user