summaryrefslogtreecommitdiffstats
path: root/xulrunner-16.0-jemalloc-ppc.patch
blob: e4fca79c9eb9b7235eaff1d13cf3b08dafb41061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: xulrunner-11.0/mozilla-release/memory/jemalloc/jemalloc.c
===================================================================
--- a/mozilla/memory/mozjemalloc/jemalloc.c
+++ b/mozilla/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