summaryrefslogtreecommitdiff
path: root/indra/test/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/test/test.cpp')
-rw-r--r--indra/test/test.cpp5
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>