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