Index: iostreams/detail/config/dyn_link.hpp =================================================================== --- iostreams/detail/config/dyn_link.hpp (revision 73300) +++ iostreams/detail/config/dyn_link.hpp (working copy) @@ -20,15 +20,13 @@ //------------------Enable dynamic linking on windows-------------------------// -#ifdef BOOST_HAS_DECLSPEC -# if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_IOSTREAMS_DYN_LINK) -# ifdef BOOST_IOSTREAMS_SOURCE -# define BOOST_IOSTREAMS_DECL __declspec(dllexport) -# else -# define BOOST_IOSTREAMS_DECL __declspec(dllimport) -# endif +#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_IOSTREAMS_DYN_LINK) +# ifdef BOOST_IOSTREAMS_SOURCE +# define BOOST_IOSTREAMS_DECL BOOST_SYMBOL_EXPORT +# else +# define BOOST_IOSTREAMS_DECL BOOST_SYMBOL_IMPORT # endif -#endif +#endif #ifndef BOOST_IOSTREAMS_DECL # define BOOST_IOSTREAMS_DECL