github.com/searKing/golang/go@v1.2.117/os/signal/cgo/include/boost/stacktrace/detail/push_options.h (about)

     1  // Copyright Antony Polukhin, 2016-2023.
     2  //
     3  // Distributed under the Boost Software License, Version 1.0. (See
     4  // accompanying file LICENSE_1_0.txt or copy at
     5  // http://www.boost.org/LICENSE_1_0.txt)
     6  
     7  // No include guards! Intentionally.
     8  
     9  // Link or header only
    10  #if !defined(BOOST_STACKTRACE_LINK) && defined(BOOST_STACKTRACE_DYN_LINK)
    11  #   define BOOST_STACKTRACE_LINK
    12  #endif
    13  
    14  #if defined(BOOST_STACKTRACE_LINK) && !defined(BOOST_STACKTRACE_DYN_LINK) && defined(BOOST_ALL_DYN_LINK)
    15  #   define BOOST_STACKTRACE_DYN_LINK
    16  #endif
    17  
    18  #ifdef BOOST_STACKTRACE_LINK
    19  #   if defined(BOOST_STACKTRACE_DYN_LINK)
    20  #       ifdef BOOST_STACKTRACE_INTERNAL_BUILD_LIBS
    21  #           define BOOST_STACKTRACE_FUNCTION BOOST_SYMBOL_EXPORT
    22  #       else
    23  #           define BOOST_STACKTRACE_FUNCTION BOOST_SYMBOL_IMPORT
    24  #       endif
    25  #   else
    26  #       define BOOST_STACKTRACE_FUNCTION
    27  #   endif
    28  #elif !defined(BOOST_STACKTRACE_DOXYGEN_INVOKED)
    29  #   define BOOST_STACKTRACE_FUNCTION inline
    30  #endif
    31