diff options
author | Tor Egge <Tor.Egge@online.no> | 2022-07-03 21:01:34 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2022-07-03 21:01:34 +0200 |
commit | de6467912e3a78eeb4257b2d3471dfd74465cc40 (patch) | |
tree | 6df6d002ca15586ae26e36a21c42f4488a531313 /vespalib | |
parent | eed883ef1d070fac08c7ba59d1e34dc754143b18 (diff) |
GNU source is not required for boost stacktrace on darwin.
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/vespa/vespalib/util/signalhandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vespalib/src/vespa/vespalib/util/signalhandler.cpp b/vespalib/src/vespa/vespalib/util/signalhandler.cpp index b00fe1718c9..68368269c59 100644 --- a/vespalib/src/vespa/vespalib/util/signalhandler.cpp +++ b/vespalib/src/vespa/vespalib/util/signalhandler.cpp @@ -2,6 +2,9 @@ #include "signalhandler.h" #include "backtrace.h" +#ifdef __APPLE__ +#define BOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED +#endif #include <boost/stacktrace/safe_dump_to.hpp> // Header-only dependency #include <boost/stacktrace/frame.hpp> #include <array> |