xulrunner/xulrunner-16.0-jemalloc-ppc.patch
Martin Stransky 8e6cfdbad4 Update to 16.0
2012-10-08 15:21:29 +02:00

14 lines
552 B
Diff

Index: xulrunner-11.0/mozilla-release/memory/jemalloc/jemalloc.c
===================================================================
--- xulrunner-11.0.orig/mozilla-release/memory/mozjemalloc/jemalloc.c
+++ xulrunner-11.0/mozilla-release/memory/mozjemalloc/jemalloc.c
@@ -1089,7 +1089,9 @@ static unsigned ncpus;
* controlling the malloc behavior are defined as compile-time constants
* for best performance and cannot be altered at runtime.
*/
+#if !(defined(__powerpc__))
#define MALLOC_STATIC_SIZES 1
+#endif
#ifdef MALLOC_STATIC_SIZES