diff --git a/include/spdlog/fmt/fmt.h b/include/spdlog/fmt/fmt.h index b853fd5e..1e8320c9 100644 --- a/include/spdlog/fmt/fmt.h +++ b/include/spdlog/fmt/fmt.h @@ -5,6 +5,10 @@ #pragma once +// fmt 7.0.0 renamed the internal namespace to detail +// The former is still provided as an alias if the FMT_USE_INTERNAL macro is defined. +#define FMT_USE_INTERNAL + // // Include a bundled header-only copy of fmtlib or an external one. // By default spdlog include its own copy. @@ -22,4 +26,4 @@ #else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib #include #include -#endif \ No newline at end of file +#endif