]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/exception/test/2-throw_exception_no_exceptions_test.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / exception / test / 2-throw_exception_no_exceptions_test.cpp
index 5d70ca17af1c126b393834f2803be5825e2fb1f1..652b3bedb617a2c8401648385b15ec39f57738cf 100644 (file)
@@ -3,7 +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)
 
-#define BOOST_NO_EXCEPTIONS
+#include <boost/config.hpp>
+
+#if !defined( BOOST_NO_EXCEPTIONS )
+#   error This program requires exception handling disabled.
+#endif
+
 #include <boost/throw_exception.hpp>
 #include <stdlib.h>