From 86588265c08d9fb0cd82998a5809c88845eaa14b Mon Sep 17 00:00:00 2001 From: denchat <19730041+denchat@users.noreply.github.com> Date: Mon, 12 Apr 2021 22:15:42 +0700 Subject: [PATCH] Rename FMT_INSTANTIATION_DEF_API Rename FMT_INSTANTIATION_DEF_API to FMT_INSTANTIATION_DECL_API [MinGW] Fix dllexport of explicit template instantiation https://reviews.llvm.org/D61118 --- include/fmt/core.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 45bf19bb..1d31c436 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -223,8 +223,8 @@ #ifndef FMT_EXTERN_TEMPLATE_API # define FMT_EXTERN_TEMPLATE_API #endif -#ifndef FMT_INSTANTIATION_DEF_API -# define FMT_INSTANTIATION_DEF_API FMT_API +#ifndef FMT_INSTANTIATION_DECL_API +# define FMT_INSTANTIATION_DECL_API FMT_API #endif #ifndef FMT_HEADER_ONLY