Fix malloc_stats() call for newer uClibc-ng versions

Origin commit data
------------------
Branch: ni/coolstream
Commit: b58aa9ad6f
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-03-08 (Wed, 08 Mar 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2017-03-08 00:32:21 +01:00
parent 4c19475bd1
commit 5891499504
2 changed files with 17 additions and 15 deletions

View File

@@ -4707,7 +4707,11 @@ void CNeutrinoApp::Cleanup()
printf("cleanup 6\n");fflush(stdout);
delete CVFD::getInstance();
#ifdef __UCLIBC__
#if (__UCLIBC_MAJOR__ >= 1) && (__UCLIBC_MINOR__ >= 0) && (__UCLIBC_SUBLEVEL__ >= 10)
malloc_stats();
#else
malloc_stats(NULL);
#endif
#else
malloc_stats();
#endif