Fix linkage errors when linking with a shared library (#2011)

This commit is contained in:
Victor Zverovich
2020-11-12 05:51:00 -08:00
parent 9534b9fe69
commit 6d14f78115
5 changed files with 12 additions and 7 deletions

View File

@@ -315,7 +315,7 @@ long getpagesize() {
# endif
}
void ostream::grow(size_t) {
FMT_API void ostream::grow(size_t) {
if (this->size() == this->capacity()) flush();
}
#endif // FMT_USE_FCNTL