mirror of
https://github.com/boostorg/stacktrace.git
synced 2026-07-21 13:33:41 +00:00
Include <boost/config.h> in the build/* detectors
Fixes: https://github.com/boostorg/stacktrace/issues/229
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
// pick up "user.hpp" with the required defines such as BOOST_STACKTRACE_ADDR2LINE_LOCATION
|
||||
#include <boost/config.hpp>
|
||||
#include <unwind.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
// accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
// pick up "user.hpp" with the required defines such as BOOST_STACKTRACE_BACKTRACE_INCLUDE_FILE
|
||||
#include <boost/config.hpp>
|
||||
|
||||
#ifdef BOOST_STACKTRACE_BACKTRACE_INCLUDE_FILE
|
||||
# include BOOST_STACKTRACE_BACKTRACE_INCLUDE_FILE
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user