From e7fc677261bd14fdf159e594fcf422e985c72664 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Wed, 5 Apr 2006 23:55:36 +0000 Subject: [PATCH] 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 --- src/boost.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/boost.C b/src/boost.C index 10494e226a..217649650b 100644 --- a/src/boost.C +++ b/src/boost.C @@ -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 { -- 2.39.5