[gtk/wip/baedert/for-master: 195/198] build: Check for mallinfo2 instead of mallinfo




commit 6e4bba3d758cf6b0849dbca0e0d1174446eb7207
Author: Timm Bäder <mail baedert org>
Date:   Fri Feb 12 08:36:21 2021 +0100

    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().

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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',
 ]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]