// Copyright 2019 Ramil Gauss.
-// Copyright 2019 Antony Polukhin.
+// Copyright 2019-2020 Antony Polukhin.
//
// 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/predef.h>
-#if (__cplusplus >= 201402L) || (BOOST_COMP_MSVC >= BOOST_VERSION_NUMBER(14,0,0))
+#include <boost/config.hpp>
+#if (__cplusplus >= 201402L) || (defined(_MSVC_LANG) && _MSVC_LANG >= 201402L)
#include <boost/dll/smart_library.hpp>
#include <boost/dll/import_mangled.hpp>