diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-05-16 14:19:20 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-05-16 14:19:20 -0400 |
commit | f10ec3073cde4810fe01753c1e5b82cb8591a1cb (patch) | |
tree | f0efbf0efe4f6524674029d31e74f6e64eb6459f /indra/test/test.cpp | |
parent | 1b6e2ef62cec9608d160ea25d99080f0e2964ee5 (diff) |
Need magic #define for <boost/stacktrace.hpp> on Mac.
Diffstat (limited to 'indra/test/test.cpp')
-rw-r--r-- | indra/test/test.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/test/test.cpp b/indra/test/test.cpp index 0b2abbc650..c4cf4b2d28 100644 --- a/indra/test/test.cpp +++ b/indra/test/test.cpp @@ -68,6 +68,11 @@ #pragma warning (pop) #endif +// On Mac, got: +// #error "Boost.Stacktrace requires `_Unwind_Backtrace` function. Define +// `_GNU_SOURCE` macro or `BOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED` if +// _Unwind_Backtrace is available without `_GNU_SOURCE`." +#define BOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED #include <boost/stacktrace.hpp> #include <fstream> |