blob: 1654014bd77bd61dec119eb80bed05be02cc6328 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- include/my_stacktrace.h.orig 2021-12-17 16:07:27 UTC
+++ include/my_stacktrace.h
@@ -43,7 +43,7 @@
HAVE_BACKTRACE - Linux, FreeBSD, OSX, Solaris
_WIN32 - Windows
*/
-#if defined(HAVE_BACKTRACE) || defined(_WIN32)
+#if (defined(HAVE_BACKTRACE) || defined(_WIN32)) && (defined(__aarch64__) || defined(__amd64__) || defined(__i386__))
#define HAVE_STACKTRACE 1
void my_init_stacktrace();
void my_print_stacktrace(const uchar *stack_bottom, ulong thread_stack);
|