libboost/libboost-1.39.0-no_exceptions.patch

22 lines
550 B
Diff

Index: throw_exception.hpp
===================================================================
--- boost/serialization/throw_exception.hpp (revision 52381)
+++ boost/serialization/throw_exception.hpp (working copy)
@@ -17,7 +17,7 @@
#include <boost/config.hpp>
-#ifdef BOOST_NO_EXCEPTIONS
+#ifndef BOOST_NO_EXCEPTIONS
# include <exception>
#endif
@@ -26,7 +26,7 @@
#ifdef BOOST_NO_EXCEPTIONS
-void throw_exception(std::exception const & e) {
+void inline throw_exception(std::exception const & e) {
::boost::throw_exception(e);
}