summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2021-02-12 08:36:21 +0100
committerTimm Bäder <mail@baedert.org>2021-02-12 08:39:40 +0100
commit6e4bba3d758cf6b0849dbca0e0d1174446eb7207 (patch)
tree052ed849d0702004cc78329374c3acd3615cf7ea
parent9f10f9a5956b554daf4449e93620f7145bb8f941 (diff)
downloadgtk+-6e4bba3d758cf6b0849dbca0e0d1174446eb7207.tar.gz
build: Check for mallinfo2 instead of mallinfo
Similar to https://github.com/llvm/llvm-project/commit/e89fcbfad6a3edb203ebdc2b1ead275fe909281a but the tests we use mallinfo() in really aren't important to not worth the effort to differentiate between mallinfo and mallinfo2. Only check for mallinfo2().
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 729aa3ea19..8677754121 100644
--- a/meson.build
+++ b/meson.build
@@ -198,7 +198,7 @@ check_functions = [
'_lock_file',
'flockfile',
'mkstemp',
- 'mallinfo',
+ 'mallinfo2',
'sincos',
'sincosf',
]