]> git.lyx.org Git - lyx.git/blobdiff - src/boost.C
* remove various xforms relicts, in particular:
[lyx.git] / src / boost.C
index 10494e226ad8ed57d0d0c36101edfed264d08906..217649650b45f6b2f1ec7d7dc3e912785cd04f34 100644 (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 {