forked from premiere/premiere-libtorrent
merged changes from RC_1_0
This commit is contained in:
parent
4376d26399
commit
066cbf1a9f
|
@ -20,7 +20,8 @@ rule libtorrent_linking ( properties * )
|
|||
{
|
||||
local result ;
|
||||
|
||||
if <target-os>linux && <toolset>gcc in $(properties)
|
||||
if ! <target-os>windows in $(properties)
|
||||
&& <toolset>gcc in $(properties)
|
||||
{
|
||||
result += <libtorrent-python-pic>on ;
|
||||
}
|
||||
|
|
|
@ -2,6 +2,20 @@
|
|||
#include <boost/version.hpp>
|
||||
#include <climits>
|
||||
|
||||
#ifndef BOOST_ASIO_SOURCE
|
||||
#define BOOST_ASIO_SOURCE
|
||||
#endif
|
||||
|
||||
#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 >= 104610
|
||||
#include <boost/asio/ssl/impl/src.hpp>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue