1From 0553455813a1f717ef50cc911e4db73da3d23c32 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 22 Mar 2017 18:47:40 -0700
4Subject: [PATCH 1/2] Enable system malloc on all linux
5
6Dont trigger on being just android or glibc
7internal malloc falls flat on musl based systems
8as well. So switch to using system malloc
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 config_f.h | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/config_f.h b/config_f.h
16index 6a632a5..0a66960 100644
17--- a/config_f.h
18+++ b/config_f.h
19@@ -139,7 +139,7 @@
20  *		This can be much slower and no memory statistics will be
21  *		provided.
22  */
23-#if defined(__MACHTEN__) || defined(PURIFY) || defined(MALLOC_TRACE) || defined(_OSD_POSIX) || defined(__MVS__) || defined (__CYGWIN__) || defined(__GLIBC__) || defined(__OpenBSD__) || defined(__APPLE__) || defined (__ANDROID__)
24+#if defined(__MACHTEN__) || defined(PURIFY) || defined(MALLOC_TRACE) || defined(_OSD_POSIX) || defined(__MVS__) || defined (__CYGWIN__) || defined(__linux__) || defined(__OpenBSD__) || defined(__APPLE__)
25 # define SYSMALLOC
26 #else
27 # undef SYSMALLOC
28--
292.12.1
30
31