mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-05-02 14:26:32 -04:00
drop legacy glibc support
This commit is contained in:
parent
95c4b40caf
commit
64dad0a69f
2 changed files with 4 additions and 12 deletions
|
@ -9,7 +9,6 @@
|
|||
|
||||
static void print_mallinfo2(void) {
|
||||
#if defined(__GLIBC__)
|
||||
#if __GLIBC_PREREQ(2, 33)
|
||||
struct mallinfo2 info = mallinfo2();
|
||||
printf("mallinfo2:\n");
|
||||
printf("arena: %zu\n", (size_t)info.arena);
|
||||
|
@ -23,7 +22,6 @@ static void print_mallinfo2(void) {
|
|||
printf("fordblks: %zu\n", (size_t)info.fordblks);
|
||||
printf("keepcost: %zu\n", (size_t)info.keepcost);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
OPTNONE int main(void) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue