mallinfo is deprecated in favor of mallinfo2
This commit is contained in:
parent
5696ed02e4
commit
db3203fe59
|
@ -1446,7 +1446,7 @@ const CommandDesc debug_cmd = {
|
||||||
write_to_debug_buffer({});
|
write_to_debug_buffer({});
|
||||||
write_to_debug_buffer(format(" Total: {}", total));
|
write_to_debug_buffer(format(" Total: {}", total));
|
||||||
#if defined(__GLIBC__) || defined(__CYGWIN__)
|
#if defined(__GLIBC__) || defined(__CYGWIN__)
|
||||||
write_to_debug_buffer(format(" Malloced: {}", mallinfo().uordblks));
|
write_to_debug_buffer(format(" Malloced: {}", mallinfo2().uordblks));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else if (parser[0] == "shared-strings")
|
else if (parser[0] == "shared-strings")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user