From 141a00d642a6ce2108ba8ce0425301ea8b0fe70b Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 9 Apr 2020 11:54:55 -0700 Subject: [PATCH] Define FMT_EXTERN_TEMPLATE_API on export --- include/fmt/core.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/fmt/core.h b/include/fmt/core.h index af5842dc..b79dbe02 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -198,6 +198,7 @@ # define FMT_CLASS_API FMT_NO_W4275 # ifdef FMT_EXPORT # define FMT_API __declspec(dllexport) +# define FMT_EXTERN_TEMPLATE_API FMT_API # elif defined(FMT_SHARED) # define FMT_API __declspec(dllimport) # define FMT_EXTERN_TEMPLATE_API FMT_API