Add missing xchar.h header for fmt > 11.0.2 (v2)
In fmt > 11.0.2, basic_format_string has moved from base.h to xchar.h
This commit is contained in:
parent
951c5b9987
commit
fde9677a58
@ -53,9 +53,7 @@
|
||||
FMT_VERSION >= 80000 // backward compatibility with fmt versions older than 8
|
||||
#define SPDLOG_FMT_RUNTIME(format_string) fmt::runtime(format_string)
|
||||
#define SPDLOG_FMT_STRING(format_string) FMT_STRING(format_string)
|
||||
#if defined(SPDLOG_WCHAR_FILENAMES) || defined(SPDLOG_WCHAR_TO_UTF8_SUPPORT)
|
||||
#include <spdlog/fmt/xchar.h>
|
||||
#endif
|
||||
#include <spdlog/fmt/xchar.h>
|
||||
#else
|
||||
#define SPDLOG_FMT_RUNTIME(format_string) format_string
|
||||
#define SPDLOG_FMT_STRING(format_string) format_string
|
||||
|
Loading…
Reference in New Issue
Block a user