LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File redis-enable-bactrace-on-x86-and-ia64-only.patch of Package redis (Project home:vjt:ifad)

Index: src/config.h
===================================================================
--- src/config.h.orig
+++ src/config.h
@@ -54,9 +54,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__