forked from premiere/premiere-libtorrent
merged visibility fix from RC_0_16
This commit is contained in:
parent
1422f5a1ba
commit
0a07f75ee0
2
Jamfile
2
Jamfile
|
@ -264,7 +264,7 @@ rule building ( properties * )
|
||||||
# in shared object interfaces, so when it's
|
# in shared object interfaces, so when it's
|
||||||
# enabled, just export everything (since we're)
|
# enabled, just export everything (since we're)
|
||||||
# probably not a production build anyway
|
# probably not a production build anyway
|
||||||
&& !<debug-iterators>on in $(properties)
|
&& ! <debug-iterators>on in $(properties)
|
||||||
{
|
{
|
||||||
# hide non-external symbols
|
# hide non-external symbols
|
||||||
# use ms-compat because boost.asio (as of 1.47.0
|
# use ms-compat because boost.asio (as of 1.47.0
|
||||||
|
|
10
src/asio.cpp
10
src/asio.cpp
|
@ -79,6 +79,16 @@
|
||||||
|
|
||||||
#else // _MSC_VER
|
#else // _MSC_VER
|
||||||
|
|
||||||
|
#include "libtorrent/config.hpp"
|
||||||
|
|
||||||
|
#define TORRENT_HAS_ASIO_DECL x ## BOOST_ASIO_DECL
|
||||||
|
|
||||||
|
// only define BOOST_ASIO_DECL if it hasn't already been defined
|
||||||
|
// or if it has been defined to an empty string
|
||||||
|
#if TORRENT_HAS_ASIO_DECL == x
|
||||||
|
#define BOOST_ASIO_DECL BOOST_SYMBOL_EXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
#if BOOST_VERSION >= 104500
|
#if BOOST_VERSION >= 104500
|
||||||
#include <boost/asio/impl/src.hpp>
|
#include <boost/asio/impl/src.hpp>
|
||||||
#elif BOOST_VERSION >= 104400
|
#elif BOOST_VERSION >= 104400
|
||||||
|
|
Loading…
Reference in New Issue