Removed SPDLOG_FMT_RUNTIME definition

This commit is contained in:
gabime
2023-10-21 13:36:52 +03:00
parent 959244b3cd
commit 5782891494
3 changed files with 6 additions and 12 deletions

View File

@@ -47,14 +47,8 @@
#include "fmt/fmt.h"
#if !defined(SPDLOG_USE_STD_FORMAT) && \
FMT_VERSION >= 80000 // backward compatibility with fmt versions older than 8
#define SPDLOG_FMT_RUNTIME(format_string) fmt::runtime(format_string)
#if defined(SPDLOG_WCHAR_FILENAMES)
#include "fmt/xchar.h"
#endif
#else
#define SPDLOG_FMT_RUNTIME(format_string) format_string
#if defined(SPDLOG_WCHAR_FILENAMES) && !defined(SPDLOG_USE_STD_FORMAT)
#include "fmt/xchar.h"
#endif
#ifndef SPDLOG_FUNCTION