--- src/tools/radiant/radiant/stacktrace.cpp	2014-06-05 06:18:39.000000000 +0200
+++ src/tools/radiant/radiant/stacktrace.cpp	2015-10-30 10:51:24.956710075 +0100
@@ -24,7 +24,7 @@
 
 #include "environment.h"
 
-#ifdef __linux__
+#ifdef __GLIBC__
 #include <execinfo.h>
 
 void write_stack_trace (TextOutputStream& outputStream)
