github.com/searKing/golang/go@v1.2.117/os/signal/cgo/include/boost/config/header_deprecated.hpp (about)

     1  #ifndef BOOST_CONFIG_HEADER_DEPRECATED_HPP_INCLUDED
     2  #define BOOST_CONFIG_HEADER_DEPRECATED_HPP_INCLUDED
     3  
     4  //  Copyright 2017 Peter Dimov.
     5  //
     6  //  Distributed under the Boost Software License, Version 1.0.
     7  //
     8  //  See accompanying file LICENSE_1_0.txt or copy at
     9  //  http://www.boost.org/LICENSE_1_0.txt
    10  //
    11  //  BOOST_HEADER_DEPRECATED("<alternative>")
    12  //
    13  //  Expands to the equivalent of
    14  //    BOOST_PRAGMA_MESSAGE("This header is deprecated. Use <alternative> instead.")
    15  //
    16  //  Note that this header is C compatible.
    17  
    18  #include <boost/config/pragma_message.hpp>
    19  
    20  #if defined(BOOST_ALLOW_DEPRECATED_HEADERS) || defined(BOOST_ALLOW_DEPRECATED)
    21  # define BOOST_HEADER_DEPRECATED(a)
    22  #else
    23  # define BOOST_HEADER_DEPRECATED(a) BOOST_PRAGMA_MESSAGE("This header is deprecated. Use " a " instead.")
    24  #endif
    25  
    26  #endif // BOOST_CONFIG_HEADER_DEPRECATED_HPP_INCLUDED