summaryrefslogtreecommitdiffstats
path: root/unmaintained/thunderbird/mozalloc_usable_size.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/thunderbird/mozalloc_usable_size.patch')
-rw-r--r--unmaintained/thunderbird/mozalloc_usable_size.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/unmaintained/thunderbird/mozalloc_usable_size.patch b/unmaintained/thunderbird/mozalloc_usable_size.patch
new file mode 100644
index 000000000..9b6740dce
--- /dev/null
+++ b/unmaintained/thunderbird/mozalloc_usable_size.patch
@@ -0,0 +1,11 @@
+--- ./mozilla/memory/mozalloc/mozalloc.cpp.orig
++++ ./mozilla/memory/mozalloc/mozalloc.cpp
+@@ -266,7 +266,7 @@
+
+ #if defined(XP_MACOSX)
+ return malloc_size(ptr);
+-#elif defined(MOZ_MEMORY)
++#elif defined(MOZ_MEMORY) && !defined(__UCLIBC__)
+ return malloc_usable_size(ptr);
+ #elif defined(XP_WIN)
+ return _msize(ptr);