components/desktop/thunderbird/patches/firefox31-gnu-125-mozalloc.patch
changeset 5527 611b2d6efdfe
parent 5526 570ac9aab8b2
child 5528 f2f5af510081
--- a/components/desktop/thunderbird/patches/firefox31-gnu-125-mozalloc.patch	Tue Mar 01 10:33:35 2016 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-Correctly define malloc_usable_size
-
-Get correct abort() function definition for Solaris.
-
---- comm-esr31/mozilla/memory/mozalloc/mozalloc.cpp.orig	2015-06-04 11:10:38.830585129 -0700
-+++ comm-esr31/mozilla/memory/mozalloc/mozalloc.cpp	2015-06-04 11:10:38.830522608 -0700
-@@ -200,6 +200,8 @@
- }
- #endif // if defined(HAVE_VALLOC)
- 
-+extern "C" size_t malloc_usable_size(const void *ptr);
-+
- size_t
- moz_malloc_usable_size(void *ptr)
- {
---- comm-esr31/mozilla/memory/mozalloc/mozalloc_abort.cpp.orig	2015-06-04 11:10:38.830454359 -0700
-+++ comm-esr31/mozilla/memory/mozalloc/mozalloc_abort.cpp	2015-06-04 11:10:38.830381114 -0700
-@@ -34,7 +34,11 @@
- // Define abort() here, so that it is used instead of the system abort(). This
- // lets us control the behavior when aborting, in order to get better results
- // on *NIX platforms. See mozalloc_abort for details.
-+#if defined(SOLARIS)
-+void std::abort(void)
-+#else
- void abort(void)
-+#endif
- {
-     mozalloc_abort("Redirecting call to abort() to mozalloc_abort\n");
- }