mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 02:19:35 +08:00
Update fmt.h
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user