forked from premiere/premiere-libtorrent
Fixed building issues on windows with msvc-8.0
This commit is contained in:
parent
067219d14a
commit
90bff3d1ca
4
Jamfile
4
Jamfile
|
@ -123,8 +123,6 @@ else
|
|||
SOURCES += file ;
|
||||
}
|
||||
|
||||
lib openssl_lib : : <name>crypto ;
|
||||
|
||||
project torrent
|
||||
|
||||
: requirements
|
||||
|
@ -181,6 +179,6 @@ lib torrent
|
|||
<dht-support>on:<source>src/$(KADEMLIA_SOURCES).cpp
|
||||
<dht-support>logging:<source>src/$(KADEMLIA_SOURCES).cpp
|
||||
<openssl>off:<source>src/sha1.cpp
|
||||
<openssl>on:<library>openssl_lib
|
||||
<openssl>on:<library>crypto
|
||||
;
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ namespace detail
|
|||
// a filter for a specific address type.
|
||||
// it works with IPv4 and IPv6
|
||||
template<class Addr>
|
||||
class filter_impl
|
||||
class TORRENT_EXPORT filter_impl
|
||||
{
|
||||
public:
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@ catch (std::exception& e)
|
|||
m_log << msg.str() << std::endl;
|
||||
#endif
|
||||
m_callback(0, 0, msg.str());
|
||||
}
|
||||
};
|
||||
|
||||
void natpmp::set_mappings(int tcp, int udp)
|
||||
{
|
||||
|
@ -200,7 +200,7 @@ void natpmp::send_map_request(int i) try
|
|||
catch (std::exception& e)
|
||||
{
|
||||
std::string err = e.what();
|
||||
}
|
||||
};
|
||||
|
||||
void natpmp::resend_request(int i, asio::error_code const& e)
|
||||
{
|
||||
|
|
|
@ -144,7 +144,7 @@ catch (std::exception& e)
|
|||
std::stringstream msg;
|
||||
msg << "UPnP portmapping disabled: " << e.what();
|
||||
m_callback(0, 0, msg.str());
|
||||
}
|
||||
};
|
||||
|
||||
void upnp::discover_device()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue