From 75e857bbfc0388436aef28490bf2021a195bf75c Mon Sep 17 00:00:00 2001 From: Janek Bevendorff Date: Tue, 22 Mar 2022 02:07:37 +0100 Subject: [PATCH] Fix check for malloc_usable_size() The CMake compilation check for malloc_usable_size() was broken. This is probably a permanent fix for #4207. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index baa399de7..fe436d351 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -522,7 +522,7 @@ if(UNIX) HAVE_MALLOC_H) check_cxx_source_compiles("#include - int main() { malloc_usable_size(NULL, 0); return 0; }" + int main() { malloc_usable_size(NULL); return 0; }" HAVE_MALLOC_USABLE_SIZE) check_cxx_source_compiles("#include