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
pull/3277/head
Antoine Hoarau 9 months ago committed by GitHub
parent 951c5b9987
commit fde9677a58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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
#else
#define SPDLOG_FMT_RUNTIME(format_string) format_string
#define SPDLOG_FMT_STRING(format_string) format_string

Loading…
Cancel
Save