Ticket #6688: asio_export.diff
File asio_export.diff, 1.5 KB (added by , 11 years ago) |
---|
-
detail/config.hpp
28 28 #if defined(BOOST_ASIO_HEADER_ONLY) 29 29 # define BOOST_ASIO_DECL inline 30 30 #else // defined(BOOST_ASIO_HEADER_ONLY) 31 # if defined(BOOST_HAS_DECLSPEC)32 31 // We need to import/export our code only if the user has specifically asked 33 32 // for it by defining BOOST_ASIO_DYN_LINK. 34 # 33 # if defined(BOOST_ASIO_DYN_LINK) 35 34 // Export if this is our own source, otherwise import. 36 # if defined(BOOST_ASIO_SOURCE) 37 # define BOOST_ASIO_DECL __declspec(dllexport) 38 # else // defined(BOOST_ASIO_SOURCE) 39 # define BOOST_ASIO_DECL __declspec(dllimport) 40 # endif // defined(BOOST_ASIO_SOURCE) 41 # endif // defined(BOOST_ASIO_DYN_LINK) 42 # endif // defined(BOOST_HAS_DECLSPEC) 35 # if defined(BOOST_ASIO_SOURCE) 36 # define BOOST_ASIO_DECL BOOST_SYMBOL_EXPORT 37 # else // defined(BOOST_ASIO_SOURCE) 38 # define BOOST_ASIO_DECL BOOST_SYMBOL_IMPORT 39 # endif // defined(BOOST_ASIO_SOURCE) 40 # endif // defined(BOOST_ASIO_DYN_LINK) 43 41 #endif // defined(BOOST_ASIO_HEADER_ONLY) 44 42 45 43 // If BOOST_ASIO_DECL isn't defined yet define it now. -
io_service.hpp
672 672 }; 673 673 674 674 /// Base class for all io_service services. 675 class io_service::service675 class BOOST_ASIO_DECL io_service::service 676 676 : private noncopyable 677 677 { 678 678 public: