]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/exception/test/errinfos_test.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / exception / test / errinfos_test.cpp
index bf3ad5fce234158102b891e57246a0da98ae9416..9e7aedc577579c719ae64b854bce9c1a73a132fe 100644 (file)
@@ -3,6 +3,12 @@
 //Distributed under the Boost Software License, Version 1.0. (See accompanying
 //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
+#include <boost/config.hpp>
+
+#if defined( BOOST_NO_EXCEPTIONS )
+#   error This program requires exception handling.
+#endif
+
 #include <boost/exception/errinfo_api_function.hpp>
 #include <boost/exception/errinfo_at_line.hpp>
 #include <boost/exception/errinfo_errno.hpp>