SHA256
1
0
forked from pool/redis
redis/redis-enable-bactrace-on-x86-and-ia64-only.patch

17 lines
441 B
Diff
Raw Normal View History

Index: redis-2.6.9/src/config.h
===================================================================
--- redis-2.6.9.orig/src/config.h
+++ redis-2.6.9/src/config.h
@@ -54,9 +54,11 @@
#endif
/* Test for backtrace() */
+#if defined(__i386__) || defined(__x86_64__) || defined(__ia64__)
#if defined(__APPLE__) || defined(__linux__) || defined(__sun)
#define HAVE_BACKTRACE 1
#endif
+#endif
/* Test for polling API */
#ifdef __linux__