Some build fixes

This commit is contained in:
Jeremy Rifkin 2024-08-17 18:40:53 -05:00
parent 25517d4789
commit 85647b8334
No known key found for this signature in database
GPG Key ID: 19AA8270105E8EB4

View File

@ -4,19 +4,19 @@
#include <cpptrace/cpptrace.hpp>
namespace cpptrace {
const raw_trace& raw_trace_from_current_exception();
const stacktrace& from_current_exception();
CPPTRACE_EXPORT const raw_trace& raw_trace_from_current_exception();
CPPTRACE_EXPORT const stacktrace& from_current_exception();
namespace detail {
#ifdef _MSC_VER
CPPTRACE_FORCE_NO_INLINE int exception_filter();
CPPTRACE_EXPORT CPPTRACE_FORCE_NO_INLINE int exception_filter();
#else
class unwind_interceptor {
class CPPTRACE_EXPORT unwind_interceptor {
public:
virtual ~unwind_interceptor();
};
void do_prepare_unwind_interceptor();
CPPTRACE_EXPORT void do_prepare_unwind_interceptor();
#ifndef CPPTRACE_DONT_PREPARE_UNWIND_INTERCEPTOR_ON
__attribute__((constructor)) inline void prepare_unwind_interceptor() {