aboutsummaryrefslogtreecommitdiffstats
path: root/main/redis/redis-no-backtrace.patch
blob: 809e924f20271dd8c22e615684bd234d24769604 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/config.h
+++ b/src/config.h
@@ -54,7 +54,7 @@
 #endif
 
 /* Test for backtrace() */
-#if defined(__APPLE__) || defined(__linux__)
+#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__))
 #define HAVE_BACKTRACE 1
 #endif