aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/grt/config/jumps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grt/config/jumps.c b/src/grt/config/jumps.c
index 6afc9d570..60825112b 100644
--- 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__)
+#if ( defined (__linux__) || defined (__APPLE__) ) && !defined (__ANDROID__)
#define HAVE_BACKTRACE 1
#include <sys/ucontext.h>
#endif