forward port python binding fix from RC_1_0

This commit is contained in:
arvidn 2016-02-08 22:14:08 -05:00
parent e7a0a9f49a
commit be44f9dd50
2 changed files with 4 additions and 1 deletions

View File

@ -84,6 +84,9 @@
* almost completely changed the storage interface (for custom storage) * almost completely changed the storage interface (for custom storage)
* added support for hashing pieces in multiple threads * added support for hashing pieces in multiple threads
1.0.9 release
* python binding fix for boost-1.60.0
* optimize enumeration of network interfaces on windows * optimize enumeration of network interfaces on windows
* improve reliability of binding listen sockets * improve reliability of binding listen sockets
* support SNI in https web seeds and trackers * support SNI in https web seeds and trackers

View File

@ -198,7 +198,7 @@ void bind_alert()
using boost::noncopyable; using boost::noncopyable;
#ifndef TORRENT_NO_DEPRECATE #ifndef TORRENT_NO_DEPRECATE
typedef boost::shared_ptr<alert> alert_holder; typedef boost::shared_ptr<alert> alert_holder;
#ifndef _MSC_VER #if BOOST_VERSION >= 106000
register_ptr_to_python<boost::shared_ptr<alert> >(); register_ptr_to_python<boost::shared_ptr<alert> >();
#endif #endif
#else #else