Skip to content

Commit da94896

Browse files
authored
Fix attempt for #177
1 parent 0a1f8ac commit da94896

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

include/boost/stacktrace/stacktrace.hpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@
3737

3838
extern "C" {
3939

40-
BOOST_SYMBOL_EXPORT inline void* boost_stacktrace_impl_return_nullptr() { return nullptr; }
40+
#if defined(BOOST_STACKTRACE_LINK) && defined(BOOST_STACKTRACE_DYN_LINK)
41+
BOOST_SYMBOL_EXPORT
42+
#endif
43+
inline void* boost_stacktrace_impl_return_nullptr() { return nullptr; }
4144
const char* boost_stacktrace_impl_current_exception_stacktrace();
4245
bool* boost_stacktrace_impl_ref_capture_stacktraces_at_throw();
4346

0 commit comments

Comments
 (0)