From 7a94e609887b165915e7eaac3fa180944a2c9722 Mon Sep 17 00:00:00 2001 From: Dimitrij Mijoski Date: Wed, 20 Jul 2022 21:37:23 +0200 Subject: [PATCH] Fix building as DLL on Windows --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index aec91fae..ab20887b 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -922,7 +922,7 @@ struct is_contiguous> : std::true_type { namespace detail { #ifdef _WIN32 -bool write_console_on_windows(std::FILE* f, string_view text); +FMT_API bool write_console_on_windows(std::FILE* f, string_view text); #endif FMT_API void print(std::FILE*, string_view); }