Rename FMT_INSTANTIATION_DECL_API

Rename FMT_INSTANTIATION_DEF_API to FMT_INSTANTIATION_DECL_API

[MinGW] Fix dllexport of explicit template instantiation
https://reviews.llvm.org/D61118
This commit is contained in:
denchat 2021-04-12 22:16:24 +07:00 committed by GitHub
parent 86588265c0
commit e2c1a2c01e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -995,7 +995,7 @@ FMT_INLINE uint16_t bsr2log10(int bsr) {
return data[bsr];
}
FMT_EXTERN template struct FMT_INSTANTIATION_DEF_API basic_data<void>;
FMT_EXTERN template struct FMT_INSTANTIATION_DECL_API basic_data<void>;
// This is a struct rather than an alias to avoid shadowing warnings in gcc.
struct data : basic_data<> {};