diff --git a/include/spdlog/fmt/fmt.h b/include/spdlog/fmt/fmt.h index b853fd5e..746d2f2c 100644 --- a/include/spdlog/fmt/fmt.h +++ b/include/spdlog/fmt/fmt.h @@ -17,6 +17,8 @@ #ifndef FMT_USE_WINDOWS_H #define FMT_USE_WINDOWS_H 0 #endif +// enable the 'n' flag in for backward compatibility with fmt 6.x +#define FMT_DEPRECATED_N_SPECIFIER #include #include #else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib