mirror of
https://github.com/boostorg/stacktrace.git
synced 2026-01-29 20:12:08 +00:00
Fixes for FreeBSD and other OSes that do not define _GNU_SOURCE but have _Unwind_Backtrace function
This commit is contained in:
@@ -7,5 +7,10 @@
|
||||
#define BOOST_STACKTRACE_INTERNAL_BUILD_LIBS
|
||||
#define BOOST_STACKTRACE_USE_BACKTRACE
|
||||
#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