|
|
@ -37,12 +37,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
// backward compatibility with fmt versions older than 8
|
|
|
|
// backward compatibility with fmt versions older than 8
|
|
|
|
#if FMT_VERSION >= 80000
|
|
|
|
#if FMT_VERSION >= 80000
|
|
|
|
# define SPDLOG_FMT_RUNTIME(format_string) fmt::runtime(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
|
|
|
|
#else
|
|
|
|
|
|
|
|
# define SPDLOG_FMT_RUNTIME(format_string) format_string
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
// visual studio upto 2013 does not support noexcept nor constexpr
|
|
|
|
// visual studio upto 2013 does not support noexcept nor constexpr
|
|
|
|