|
|
@ -44,9 +44,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
#include <spdlog/fmt/fmt.h>
|
|
|
|
#include <spdlog/fmt/fmt.h>
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef SPDLOG_USE_STD_FORMAT
|
|
|
|
#if !defined(SPDLOG_USE_STD_FORMAT) && FMT_VERSION >= 80000 // backward compatibility with fmt versions older than 8
|
|
|
|
# if FMT_VERSION >= 80000 // backward compatibility with fmt versions older than 8
|
|
|
|
|
|
|
|
# define SPDLOG_FMT_RUNTIME(format_string) fmt::runtime(format_string)
|
|
|
|
# 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)
|
|
|
|
# if defined(SPDLOG_WCHAR_FILENAMES) || defined(SPDLOG_WCHAR_TO_UTF8_SUPPORT)
|
|
|
|
# include <spdlog/fmt/xchar.h>
|
|
|
|
# include <spdlog/fmt/xchar.h>
|
|
|
|
# endif
|
|
|
|
# endif
|
|
|
@ -54,7 +54,6 @@
|
|
|
|
# define SPDLOG_FMT_RUNTIME(format_string) format_string
|
|
|
|
# define SPDLOG_FMT_RUNTIME(format_string) format_string
|
|
|
|
# define SPDLOG_FMT_STRING(format_string) format_string
|
|
|
|
# define SPDLOG_FMT_STRING(format_string) format_string
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __has_feature
|
|
|
|
#ifdef __has_feature
|
|
|
|
# define SPDLOG_HAS_FEATURE(x) __has_feature(x)
|
|
|
|
# define SPDLOG_HAS_FEATURE(x) __has_feature(x)
|
|
|
|