forked from premiere/premiere-libtorrent
define boost::throw_exception when building with no exceptions
This commit is contained in:
parent
561fcd5748
commit
72531255bc
|
@ -111,6 +111,12 @@ using boost::bind;
|
||||||
using boost::mutex;
|
using boost::mutex;
|
||||||
using libtorrent::aux::session_impl;
|
using libtorrent::aux::session_impl;
|
||||||
|
|
||||||
|
#ifdef BOOST_NO_EXCEPTIONS
|
||||||
|
namespace boost {
|
||||||
|
void throw_exception(std::exception const& e) { ::abort(); }
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace libtorrent {
|
namespace libtorrent {
|
||||||
|
|
||||||
namespace fs = boost::filesystem;
|
namespace fs = boost::filesystem;
|
||||||
|
|
Loading…
Reference in New Issue