aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortgingold <tgingold@users.noreply.github.com>2022-06-09 18:55:45 +0200
committerGitHub <noreply@github.com>2022-06-09 18:55:45 +0200
commitafeb3e1a54881dd3ae0a1bd4e01f1ef46f9ef0f6 (patch)
treee6b21baaa9bb40292d380eeece0f3ab8d36e5cc4
parent634b0991bd2709fc19eec5d0af0f46a52341b70c (diff)
parentc58a8c30daa3c5a371ef7cfc52175319986efeaf (diff)
downloadghdl-afeb3e1a54881dd3ae0a1bd4e01f1ef46f9ef0f6.tar.gz
ghdl-afeb3e1a54881dd3ae0a1bd4e01f1ef46f9ef0f6.tar.bz2
ghdl-afeb3e1a54881dd3ae0a1bd4e01f1ef46f9ef0f6.zip
Merge pull request #2087 from Guiltybyte/support-non-glibc
Support non glibc Linux systems
-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 9a2ee1046..0b01409e7 100644
--- a/src/grt/config/jumps.c
+++ b/src/grt/config/jumps.c
@@ -27,7 +27,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