diff options
Diffstat (limited to 'src/third_party/boost-1.69.0/boost/config/header_deprecated.hpp')
-rw-r--r-- | src/third_party/boost-1.69.0/boost/config/header_deprecated.hpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/third_party/boost-1.69.0/boost/config/header_deprecated.hpp b/src/third_party/boost-1.69.0/boost/config/header_deprecated.hpp new file mode 100644 index 00000000000..864554f2a26 --- /dev/null +++ b/src/third_party/boost-1.69.0/boost/config/header_deprecated.hpp @@ -0,0 +1,26 @@ +#ifndef BOOST_CONFIG_HEADER_DEPRECATED_HPP_INCLUDED +#define BOOST_CONFIG_HEADER_DEPRECATED_HPP_INCLUDED + +// Copyright 2017 Peter Dimov. +// +// 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 +// +// BOOST_HEADER_DEPRECATED("<alternative>") +// +// Expands to the equivalent of +// BOOST_PRAGMA_MESSAGE("This header is deprecated. Use <alternative> instead.") +// +// Note that this header is C compatible. + +#include <boost/config/pragma_message.hpp> + +#if defined(BOOST_ALLOW_DEPRECATED_HEADERS) +# define BOOST_HEADER_DEPRECATED(a) +#else +# define BOOST_HEADER_DEPRECATED(a) BOOST_PRAGMA_MESSAGE("This header is deprecated. Use " a " instead.") +#endif + +#endif // BOOST_CONFIG_HEADER_DEPRECATED_HPP_INCLUDED |