]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/math/test/compile_test/poison.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / math / test / compile_test / poison.hpp
index 6d72d9d26a336b9d92643f5db52318e66c4a8ec8..91bf782330d13fae118443b4be888e822d2305ef 100644 (file)
@@ -14,7 +14,6 @@
 // we basically need to include every std lib header we use, otherwise
 // our poisoned macros can break legit std lib code.
 //
-#include <boost/config.hpp>
 #include <valarray>
 #include <complex>
 #include <iosfwd>
 #include <memory>
 #include <cerrno>
 #include <functional>
-#ifndef BOOST_NO_CXX11_HDR_FUTURE
 #include <future>
-#endif
-#ifndef BOOST_NO_CXX11_HDR_THREAD
 #include <thread>
-#endif
-#ifndef BOOST_NO_CXX11_HDR_RANDOM
 #include <random>
-#endif
-#ifndef BOOST_NO_CXX11_HDR_CHRONO
 #include <chrono>
-#endif
 #include <map>
 
 //
 // as it needs to be able to use them!
 //
 #include <boost/math/special_functions/fpclassify.hpp>
+//
+// lexical_cast uses macro unsafe isinf etc, so we have to include this as well:
+//
+#ifndef BOOST_MATH_STANDALONE
+#include <boost/lexical_cast.hpp>
+#endif
 
 //
 // Poison all the function-like macros in C99 so if we accidentally call them