We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93a87ce commit 27fcfccCopy full SHA for 27fcfcc
h_malloc.c
@@ -1797,9 +1797,13 @@ EXPORT void h_malloc_stats(void) {}
1797
EXPORT struct mallinfo h_mallinfo(void) {
1798
return (struct mallinfo){0};
1799
}
1800
+
1801
+#if __GLIBC_PREREQ(2, 33)
1802
+#define HAVE_MALLINFO2
1803
+#endif
1804
#endif
1805
-#if (defined(__GLIBC__) && __GLIBC_PREREQ(2, 33)) || defined(__ANDROID__)
1806
+#if defined(HAVE_MALLINFO2) || defined(__ANDROID__)
1807
#ifndef __GLIBC__
1808
1809
struct mallinfo info = {0};
0 commit comments