From ad18d4e1cb1bb7858c47116ef15bc9c7624e934c Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 16 Sep 2023 18:57:33 +0300 Subject: [PATCH] Added missing include to --- include/spdlog/common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/spdlog/common.h b/include/spdlog/common.h index 2bd4e5d8..53b001a1 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -64,6 +64,9 @@ #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) # define SPDLOG_FMT_STRING(format_string) FMT_STRING(format_string) +# if defined(SPDLOG_WCHAR_FILENAMES) +# include +# endif #else # define SPDLOG_FMT_RUNTIME(format_string) format_string # define SPDLOG_FMT_STRING(format_string) format_string