]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/dll/smart_library.hpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / boost / dll / smart_library.hpp
index ef127e2b0b433735c32dff5f0867e8e11a0c10d7..de0909c62a2c12727ae0e10ba024bc91713b12e2 100644 (file)
 /// \warning Extremely experimental! Requires C++14! Will change in next version of Boost! boost/dll/smart_library.hpp is not included in boost/dll.hpp
 /// \brief Contains the boost::dll::experimental::smart_library class for loading mangled symbols.
 
-#include <boost/predef.h>
-
-#if BOOST_COMP_GNUC || BOOST_COMP_CLANG || BOOST_COMP_HPACC || BOOST_COMP_IBM
-
-#if BOOST_OS_WINDOWS && BOOST_COMP_CLANG
-#warning "Clang-win is not supported"
-#include <boost/dll/detail/demangling/msvc.hpp>
-#else
-#include <boost/dll/detail/demangling/itanium.hpp>
-#endif
-
-#elif BOOST_COMP_MSVC
-#include <boost/dll/detail/demangling/msvc.hpp>
+#include <boost/dll/config.hpp>
+#if defined(_MSC_VER) // MSVC, Clang-cl, and ICC on Windows
+#   include <boost/dll/detail/demangling/msvc.hpp>
 #else
-#error "Compiler not supported"
+#   include <boost/dll/detail/demangling/itanium.hpp>
 #endif
 
 #include <boost/dll/shared_library.hpp>