fix release asserts issue
This commit is contained in:
2
Jamfile
2
Jamfile
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user