aboutsummaryrefslogtreecommitdiffstats
path: root/main/chromium/no-mallinfo.patch
blob: 865db77dcbc1598ca156bfece36d7f053278edd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ./content/child/content_child_helpers.cc.orig
+++ ./content/child/content_child_helpers.cc
@@ -15,7 +15,7 @@
 
 namespace content {
 
-#if defined(OS_LINUX) || defined(OS_ANDROID)
+#if defined(__GLIBC__) || defined(OS_ANDROID)
 size_t GetMemoryUsageKB() {
   struct mallinfo minfo = mallinfo();
   uint64_t mem_usage =