Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'extern/libmv/third_party/glog/src/stacktrace_x86_64-inl.h')
-rw-r--r--extern/libmv/third_party/glog/src/stacktrace_x86_64-inl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/extern/libmv/third_party/glog/src/stacktrace_x86_64-inl.h b/extern/libmv/third_party/glog/src/stacktrace_x86_64-inl.h
index f7d1dca85bc..e3729e1fd39 100644
--- a/extern/libmv/third_party/glog/src/stacktrace_x86_64-inl.h
+++ b/extern/libmv/third_party/glog/src/stacktrace_x86_64-inl.h
@@ -33,6 +33,10 @@
extern "C" {
#include <stdlib.h> // for NULL
+#if defined(__FreeBSD__)
+/* devel/libunwind only includes _Unwind_Backtrace if this is set */
+#define _GNU_SOURCE 1
+#endif
#include <unwind.h> // ABI defined unwinder
}
#include "stacktrace.h"