fix release asserts issue

This commit is contained in:
Arvid Norberg 2012-04-20 17:03:00 +00:00
parent d2e91594b3
commit a699ab3768
2 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ rule linking ( properties * )
if <toolset>gcc in $(properties)
&& <target-os>linux in $(properties)
&& (<variant>debug in $(properties)
|| <asserts>release in $(properties)
|| <asserts>on in $(properties)
|| <asserts>production in $(properties))
{
# for backtraces in assertion failures

View File

@ -44,7 +44,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/bitfield.hpp"
#include "libtorrent/random.hpp"
#ifdef TORRENT_DEBUG
#if defined TORRENT_DEBUG || TORRENT_RELEASE_ASSERTS
#include "libtorrent/peer_connection.hpp"
#include "libtorrent/torrent.hpp"
#include "libtorrent/policy.hpp" // for policy::peer