diff --git a/include/fmt/format.h b/include/fmt/format.h index 890ecb16..5124e1ee 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -995,9 +995,7 @@ FMT_INLINE uint16_t bsr2log10(int bsr) { return data[bsr]; } -#ifndef FMT_EXPORTED -FMT_EXTERN template struct basic_data; -#endif +FMT_EXTERN template struct FMT_INSTANTIATION_DEF_API basic_data; // This is a struct rather than an alias to avoid shadowing warnings in gcc. struct data : basic_data<> {};