mirror of
https://github.com/boostorg/stacktrace.git
synced 2026-01-29 08:02:09 +00:00
Fixes for FreeBSD and other OSes that do not define _GNU_SOURCE but have _Unwind_Backtrace function
This commit is contained in:
@@ -6,5 +6,10 @@
|
||||
|
||||
#define BOOST_STACKTRACE_INTERNAL_BUILD_LIBS
|
||||
#define BOOST_STACKTRACE_LINK
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
# define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
#include <boost/stacktrace/detail/frame_unwind.ipp>
|
||||
#include <boost/stacktrace/safe_dump_to.hpp>
|
||||
|
||||
Reference in New Issue
Block a user