SHA256
1
0
forked from pool/redis
redis/redis-enable-bactrace-on-x86-and-ia64-only.patch
Tomáš Chvátal c15e93971d Accepting request 182466 from home:k0da:ppc
- enable backtrace for x86 and ia64 only
  redis-enable-bactrace-on-x86-and-ia64-only.patch

OBS-URL: https://build.opensuse.org/request/show/182466
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=42
2013-07-08 08:53:48 +00:00

17 lines
441 B
Diff

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__