redis/redis-enable-bactrace-on-x86-and-ia64-only.patch

17 lines
387 B
Diff

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