12 lines
358 B
Diff
12 lines
358 B
Diff
--- a/src/grt/config/jumps.c
|
|
+++ b/src/grt/config/jumps.c
|
|
@@ -29,7 +29,7 @@
|
|
#include <signal.h>
|
|
#include <fcntl.h>
|
|
|
|
-#if ( defined (__linux__) || defined (__APPLE__) ) && !defined (__ANDROID__)
|
|
+#if ( defined (__linux__) && defined(__GLIBC__) || defined (__APPLE__) ) && !defined (__ANDROID__)
|
|
#define HAVE_BACKTRACE 1
|
|
#include <sys/ucontext.h>
|
|
#endif
|