Skip to content

Commit 4f8cabb

Browse files
committed
Include <boost/config.h> in the build/* detectors
Fixes: #229
1 parent e93f50d commit 4f8cabb

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

build/has_addr2line.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
#include <cstdlib>
88

9+
// pick up "user.hpp" with the required defines such as BOOST_STACKTRACE_ADDR2LINE_LOCATION
910
#include <boost/config.hpp>
1011
#include <unwind.h>
1112
#include <sys/types.h>

build/has_backtrace.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
// accompanying file LICENSE_1_0.txt or copy at
55
// http://www.boost.org/LICENSE_1_0.txt)
66

7+
// pick up "user.hpp" with the required defines such as BOOST_STACKTRACE_BACKTRACE_INCLUDE_FILE
8+
#include <boost/config.hpp>
9+
710
#ifdef BOOST_STACKTRACE_BACKTRACE_INCLUDE_FILE
811
# include BOOST_STACKTRACE_BACKTRACE_INCLUDE_FILE
912
#else

0 commit comments

Comments
 (0)