mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-05-12 11:12:21 -04:00
provide working malloc_info outside Android too
This commit is contained in:
parent
494436c904
commit
409a639312
2 changed files with 54 additions and 2 deletions
|
@ -63,7 +63,7 @@ void h_malloc_stats(void);
|
|||
#if defined(__GLIBC__) || defined(__ANDROID__)
|
||||
struct mallinfo h_mallinfo(void);
|
||||
#endif
|
||||
#ifdef __GLIBC__
|
||||
#ifndef __ANDROID__
|
||||
int h_malloc_info(int options, FILE *fp);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue