Files
externals/linux/include/ActivBoost/config/header_deprecated.hpp
T
2023-12-15 13:15:08 -05:00

27 lines
913 B
C++

#ifndef ACTIV_BOOST_CONFIG_HEADER_DEPRECATED_HPP_INCLUDED
#define ACTIV_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
//
// ACTIV_BOOST_HEADER_DEPRECATED("<alternative>")
//
// Expands to the equivalent of
// ACTIV_BOOST_PRAGMA_MESSAGE("This header is deprecated. Use <alternative> instead.")
//
// Note that this header is C compatible.
#include <ActivBoost/config/pragma_message.hpp>
#if defined(ACTIV_BOOST_ALLOW_DEPRECATED_HEADERS) || defined(ACTIV_BOOST_ALLOW_DEPRECATED)
# define ACTIV_BOOST_HEADER_DEPRECATED(a)
#else
# define ACTIV_BOOST_HEADER_DEPRECATED(a) ACTIV_BOOST_PRAGMA_MESSAGE("This header is deprecated. Use " a " instead.")
#endif
#endif // ACTIV_BOOST_CONFIG_HEADER_DEPRECATED_HPP_INCLUDED