Fixed building issues on windows with msvc-8.0

This commit is contained in:
Arvid Norberg 2007-04-17 21:18:35 +00:00
parent 067219d14a
commit 90bff3d1ca
4 changed files with 5 additions and 7 deletions

View File

@ -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
;

View File

@ -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:

View File

@ -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)
{

View File

@ -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()
{