Ticket #6688: export_symbols.diff
File export_symbols.diff, 1.2 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.