summaryrefslogtreecommitdiffstats
path: root/testing/thunderbird/mozalloc_usable_size.patch
blob: 9b6740dceeba31cd7d6c93d9eac8b61d773d5cad (plain)
1
2
3
4
5
6
7
8
9
10
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);