12345678910111213141516171819202122232425262728293031 |
- // Copyright Antony Polukhin, 2016-2021.
- //
- // 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)
- // No include guards! Intentionally.
- // Link or header only
- #if !defined(BOOST_STACKTRACE_LINK) && defined(BOOST_STACKTRACE_DYN_LINK)
- # define BOOST_STACKTRACE_LINK
- #endif
- #if defined(BOOST_STACKTRACE_LINK) && !defined(BOOST_STACKTRACE_DYN_LINK) && defined(BOOST_ALL_DYN_LINK)
- # define BOOST_STACKTRACE_DYN_LINK
- #endif
- #ifdef BOOST_STACKTRACE_LINK
- # if defined(BOOST_STACKTRACE_DYN_LINK)
- # ifdef BOOST_STACKTRACE_INTERNAL_BUILD_LIBS
- # define BOOST_STACKTRACE_FUNCTION BOOST_SYMBOL_EXPORT
- # else
- # define BOOST_STACKTRACE_FUNCTION BOOST_SYMBOL_IMPORT
- # endif
- # else
- # define BOOST_STACKTRACE_FUNCTION
- # endif
- #elif !defined(BOOST_STACKTRACE_DOXYGEN_INVOKED)
- # define BOOST_STACKTRACE_FUNCTION inline
- #endif
|