mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Use mallinfo2() instead of mallinfo() when available
glibc 2.33 deprecates mallinfo in favor of a struct that returns its members as size_ts instead of ints.
This commit is contained in:
parent
727fca26e3
commit
63259ef9fa
3 changed files with 10 additions and 4 deletions
|
@ -22,6 +22,9 @@
|
|||
/* Define if you have the `mallinfo' function. */
|
||||
#cmakedefine HAVE_MALLINFO
|
||||
|
||||
/* Define if you have the `mallinfo2' function. */
|
||||
#cmakedefine HAVE_MALLINFO2
|
||||
|
||||
/* Define if you have the <memory.h> header file. */
|
||||
#cmakedefine HAVE_MEMORY_H
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue