Use mallinfo2() if available
mallinfo() is deprecated because it uses `int` for the members of the returned struct, whereas mallinfo2() uses `size_t`. It's available since glibc 2.33.
This commit is contained in:
+1
-1
@@ -668,7 +668,7 @@ AC_CHECK_FUNC(
|
||||
]
|
||||
)
|
||||
|
||||
AC_CHECK_FUNCS(prctl mallinfo getpass closefrom getpwnam_r getgrnam_r getpwuid_r chown)
|
||||
AC_CHECK_FUNCS(prctl mallinfo mallinfo2 getpass closefrom getpwnam_r getgrnam_r getpwuid_r chown)
|
||||
AC_CHECK_FUNCS(fmemopen funopen mmap memrchr setlinebuf strptime dirfd sigwaitinfo explicit_bzero)
|
||||
|
||||
AC_CHECK_FUNC([syslog], [
|
||||
|
||||
Reference in New Issue
Block a user