disable-moz-stackwalk.patch 640 B

12345678910111213141516171819
  1. diff --git a/mozglue/misc/StackWalk.cpp b/mozglue/misc/StackWalk.cpp
  2. index 7d62921..adcfa44 100644
  3. --- a/mozglue/misc/StackWalk.cpp
  4. +++ b/mozglue/misc/StackWalk.cpp
  5. @@ -33,13 +33,7 @@ using namespace mozilla;
  6. # define MOZ_STACKWALK_SUPPORTS_MACOSX 0
  7. #endif
  8. -#if (defined(linux) && \
  9. - ((defined(__GNUC__) && (defined(__i386) || defined(PPC))) || \
  10. - defined(HAVE__UNWIND_BACKTRACE)))
  11. -# define MOZ_STACKWALK_SUPPORTS_LINUX 1
  12. -#else
  13. # define MOZ_STACKWALK_SUPPORTS_LINUX 0
  14. -#endif
  15. #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1)
  16. # define HAVE___LIBC_STACK_END 1