aboutsummaryrefslogtreecommitdiffstats
path: root/src/grt
diff options
context:
space:
mode:
authorumarcor <38422348+umarcor@users.noreply.github.com>2020-02-19 20:11:45 +0100
committerGitHub <noreply@github.com>2020-02-19 20:11:45 +0100
commit531a109b1ff35bfe7873250ddca258d2cd031f18 (patch)
tree56f73942cafec4c24aff728ab61cd3a3ace74f0d /src/grt
parent493fe4337300dbcfd796715bd7268347ba849950 (diff)
downloadghdl-531a109b1ff35bfe7873250ddca258d2cd031f18.tar.gz
ghdl-531a109b1ff35bfe7873250ddca258d2cd031f18.tar.bz2
ghdl-531a109b1ff35bfe7873250ddca258d2cd031f18.zip
disable backtrace on android (#1142)
Diffstat (limited to 'src/grt')
-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