blob: e9483748f817cc93ed7d7a2d78907121482aaa5c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- include/my_stacktrace.h.orig 2024-12-16 09:20:55 UTC
+++ include/my_stacktrace.h
@@ -45,7 +45,7 @@
_WIN32 - Windows
HAVE_EXT_BACKTRACE - Unixes without backtrace(3)
*/
-#if defined(HAVE_BACKTRACE) || defined(_WIN32) || defined(HAVE_EXT_BACKTRACE)
+#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);
|