summaryrefslogtreecommitdiffstats
path: root/xulrunner-16.0-jemalloc-ppc.patch
blob: 896a2c08ed1a6643718a2c5e85683cabf3e2561d (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
===================================================================
--- 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