summaryrefslogtreecommitdiff
path: root/mail/thunderbird/files/patch-mozilla-xpcom-base-nsStackWalk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mail/thunderbird/files/patch-mozilla-xpcom-base-nsStackWalk.cpp')
-rw-r--r--mail/thunderbird/files/patch-mozilla-xpcom-base-nsStackWalk.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/mail/thunderbird/files/patch-mozilla-xpcom-base-nsStackWalk.cpp b/mail/thunderbird/files/patch-mozilla-xpcom-base-nsStackWalk.cpp
index 4d2bca2ca692..817014333627 100644
--- a/mail/thunderbird/files/patch-mozilla-xpcom-base-nsStackWalk.cpp
+++ b/mail/thunderbird/files/patch-mozilla-xpcom-base-nsStackWalk.cpp
@@ -8,3 +8,11 @@
#if defined(_WIN32) && (defined(_M_IX86) || defined(_M_AMD64) || defined(_M_IA64)) && !defined(WINCE) // WIN32 x86 stack walking code
+@@ -1123,6 +1123,7 @@ NS_StackWalk(NS_WalkStackCallback aCallb
+
+ #elif defined(HAVE__UNWIND_BACKTRACE)
+
++#define _GNU_SOURCE
+ // libgcc_s.so symbols _Unwind_Backtrace@@GCC_3.3 and _Unwind_GetIP@@GCC_3.0
+ #include <unwind.h>
+