mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user