From 3c756ad478d4da5e02e4c67e35367925c2afce9a Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Fri, 13 Sep 2024 11:25:41 +0300 Subject: [PATCH] Update stacktrace.hpp --- include/boost/stacktrace/stacktrace.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/stacktrace/stacktrace.hpp b/include/boost/stacktrace/stacktrace.hpp index aad99ca..3a584e0 100644 --- a/include/boost/stacktrace/stacktrace.hpp +++ b/include/boost/stacktrace/stacktrace.hpp @@ -37,7 +37,7 @@ extern "C" { -#if defined(BOOST_STACKTRACE_DYN_LINK) && defined(BOOST_STACKTRACE_INTERNAL_BUILD_LIBS) +#if defined(BOOST_STACKTRACE_DYN_LINK) && !defined(BOOST_STACKTRACE_INTERNAL_BUILD_LIBS) BOOST_SYMBOL_EXPORT #endif inline void* boost_stacktrace_impl_return_nullptr() { return nullptr; }