drop legacy glibc support

This commit is contained in:
Daniel Micay 2023-06-10 14:04:46 -04:00
parent 95c4b40caf
commit 64dad0a69f
2 changed files with 4 additions and 12 deletions

View file

@ -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) {