Define FMT_EXTERN_TEMPLATE_API on export

This commit is contained in:
Victor Zverovich 2020-04-09 11:54:55 -07:00
parent 3860edc5d9
commit 141a00d642

View File

@ -198,6 +198,7 @@
# define FMT_CLASS_API FMT_NO_W4275 # define FMT_CLASS_API FMT_NO_W4275
# ifdef FMT_EXPORT # ifdef FMT_EXPORT
# define FMT_API __declspec(dllexport) # define FMT_API __declspec(dllexport)
# define FMT_EXTERN_TEMPLATE_API FMT_API
# elif defined(FMT_SHARED) # elif defined(FMT_SHARED)
# define FMT_API __declspec(dllimport) # define FMT_API __declspec(dllimport)
# define FMT_EXTERN_TEMPLATE_API FMT_API # define FMT_EXTERN_TEMPLATE_API FMT_API