thunderbird/xulrunner-16.0-jemalloc-ppc.patch

15 lines
505 B
Diff
Raw Normal View History

2012-10-09 12:01:47 +00:00
Index: xulrunner-11.0/mozilla-release/memory/jemalloc/jemalloc.c
2012-09-07 13:14:54 +00:00
===================================================================
2012-10-09 12:01:47 +00:00
--- a/mozilla/memory/mozjemalloc/jemalloc.c
+++ b/mozilla/memory/mozjemalloc/jemalloc.c
@@ -1089,7 +1089,9 @@ static unsigned ncpus;
2012-09-07 13:14:54 +00:00
* 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