mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
Fix malloc_stats() call for newer uClibc-ng versions
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