another attempt at fixing #921

This commit is contained in:
Guenter Obiltschnig 2015-09-01 08:31:16 +02:00
parent 245a628d90
commit 22c7933fe5
3 changed files with 9 additions and 0 deletions

View File

@ -167,6 +167,9 @@ private:
//
// We provide an instantiation for char
//
#if defined(_WIN32) && defined(POCO_DLL) && !defined(Foundation_EXPORTS) // See #921
template class Foundation_API BasicBufferedBidirectionalStreamBuf<char, std::char_traits<char> >;
#endif
typedef BasicBufferedBidirectionalStreamBuf<char, std::char_traits<char> > BufferedBidirectionalStreamBuf;

View File

@ -159,6 +159,9 @@ private:
//
// We provide an instantiation for char
//
#if defined(_WIN32) && defined(POCO_DLL) && !defined(Foundation_EXPORTS) // See #921
template class Foundation_API BasicBufferedStreamBuf<char, std::char_traits<char> >;
#endif
typedef BasicBufferedStreamBuf<char, std::char_traits<char> > BufferedStreamBuf;

View File

@ -165,6 +165,9 @@ private:
//
// We provide an instantiation for char
//
#if defined(_WIN32) && defined(POCO_DLL) && !defined(Foundation_EXPORTS) // See #921
template class Foundation_API BasicUnbufferedStreamBuf<char, std::char_traits<char> >;
#endif
typedef BasicUnbufferedStreamBuf<char, std::char_traits<char> > UnbufferedStreamBuf;