From be44f9dd509bd0bf70af853ada624308180b0566 Mon Sep 17 00:00:00 2001 From: arvidn Date: Mon, 8 Feb 2016 22:14:08 -0500 Subject: [PATCH] forward port python binding fix from RC_1_0 --- ChangeLog | 3 +++ bindings/python/src/alert.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2ee6d0665..935fb06b0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -84,6 +84,9 @@ * almost completely changed the storage interface (for custom storage) * 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 * improve reliability of binding listen sockets * support SNI in https web seeds and trackers diff --git a/bindings/python/src/alert.cpp b/bindings/python/src/alert.cpp index e96762439..ee11de492 100644 --- a/bindings/python/src/alert.cpp +++ b/bindings/python/src/alert.cpp @@ -198,7 +198,7 @@ void bind_alert() using boost::noncopyable; #ifndef TORRENT_NO_DEPRECATE typedef boost::shared_ptr alert_holder; -#ifndef _MSC_VER +#if BOOST_VERSION >= 106000 register_ptr_to_python >(); #endif #else