Merge changes I81e76796,Iba319126 into main

* changes:
  libutil: Set boost defines for FreeBSD
  meson.build: Allow undefined symbols on FreeBSD
This commit is contained in:
Artemis Tosini
2024-06-16 14:42:54 +00:00
committed by Gerrit Code Review
2 changed files with 9 additions and 2 deletions
+2 -2
View File
@@ -5,8 +5,8 @@
#include <string>
#include <optional>
#include <boost/format.hpp>
// Darwin stdenv does not define _GNU_SOURCE but does have _Unwind_Backtrace.
#ifdef __APPLE__
// Darwin and FreeBSD stdenv do not define _GNU_SOURCE but do have _Unwind_Backtrace.
#if __APPLE__ || __FreeBSD__
#define BOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED
#endif
#include <boost/stacktrace.hpp>