do not define boost::throw_exceptions if we are compiling with exceptions

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13564 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2006-04-05 23:55:36 +00:00
parent 917e9bd0ce
commit e7fc677261

View File

@ -22,13 +22,14 @@ using std::endl;
namespace boost {
#ifndef BOOST_NO_EXCEPTIONS
void throw_exception(std::exception const & e)
{
lyxerr << "Exception caught:\n"
<< e.what() << endl;
BOOST_ASSERT(false);
}
#endif
namespace {