mirror of
https://github.com/boostorg/stacktrace.git
synced 2026-02-22 03:32:27 +00:00
Fixes for linkage and tests
This commit is contained in:
@@ -21,8 +21,12 @@
|
||||
# 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) || defined(BOOST_ALL_DYN_LINK)
|
||||
# if defined(BOOST_STACKTRACE_DYN_LINK)
|
||||
# ifdef BOOST_STACKTRACE_INTERNAL_BUILD_LIBS
|
||||
# define BOOST_STACKTRACE_FUNCTION BOOST_SYMBOL_EXPORT
|
||||
# else
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
# pragma once
|
||||
#endif
|
||||
|
||||
#include <boost/stacktrace.hpp>
|
||||
#include <boost/stacktrace/detail/stacktrace_helpers.hpp>
|
||||
#include <boost/core/no_exceptions_support.hpp>
|
||||
|
||||
@@ -19,6 +20,14 @@
|
||||
#include "DbgHelp.h"
|
||||
#include <WinBase.h>
|
||||
|
||||
#if !defined(BOOST_ALL_NO_LIB)
|
||||
# define BOOST_LIB_NAME Dbghelp
|
||||
# ifdef BOOST_STACKTRACE_DYN_LINK
|
||||
# define BOOST_DYN_LINK
|
||||
# endif
|
||||
# include <boost/config/auto_link.hpp>
|
||||
#endif
|
||||
|
||||
namespace boost { namespace stacktrace { namespace detail {
|
||||
|
||||
struct symbol_info_with_stack {
|
||||
|
||||
Reference in New Issue
Block a user