aboutsummaryrefslogblamecommitdiffstats
path: root/testing/chromium/chromium-malloc.patch
blob: 2fe5bfda867e9d3daf23404ddb1c237cd46ec0b9 (plain) (tree)


















                                                               
--- chromium-17.0.942.0.orig/base/process_util_linux.cc
+++ chromium-17.0.942.0/base/process_util_linux.cc
@@ -640,7 +640,7 @@
 
 extern "C" {
 #if !defined(USE_TCMALLOC) && !defined(ADDRESS_SANITIZER) && \
-    !defined(OS_ANDROID)
+    !defined(OS_ANDROID) && !defined(__UCLIBC__)
 
 extern "C" {
 void* __libc_malloc(size_t size);
@@ -700,6 +700,7 @@
       OnNoMemorySize(size); \
     return ret; \
   }
+
 
 DIE_ON_OOM_1(malloc)
 DIE_ON_OOM_1(valloc)