provide working malloc_info outside Android too

This commit is contained in:
Daniel Micay 2019-04-19 16:54:43 -04:00
parent 494436c904
commit 409a639312
2 changed files with 54 additions and 2 deletions

View file

@ -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