diff --git a/test/malloc_info.c b/test/malloc_info.c index 62a315f..138d850 100644 --- a/test/malloc_info.c +++ b/test/malloc_info.c @@ -26,5 +26,7 @@ int main(void) { pthread_join(thread[i], NULL); } +#if defined(__GLIBC__) || defined(__ANDROID__) malloc_info(0, stdout); +#endif }