diff --git a/include/spdlog/fmt/ostr.h b/include/spdlog/fmt/ostr.h index cf4c32c5..9902898f 100644 --- a/include/spdlog/fmt/ostr.h +++ b/include/spdlog/fmt/ostr.h @@ -4,10 +4,13 @@ // #pragma once - -// include external or bundled copy of fmtlib's ostream support +// +// include bundled or external copy of fmtlib's ostream support // #if !defined(SPDLOG_FMT_EXTERNAL) +#ifndef FMT_HEADER_ONLY +#define FMT_HEADER_ONLY +#endif #include "bundled/ostream.h" #include "fmt.h" #else