mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-28 08:49:42 -05:00
Fix check for malloc_usable_size()
The CMake compilation check for malloc_usable_size() was broken. This is probably a permanent fix for #4207.
This commit is contained in:
parent
11351613ed
commit
75e857bbfc
@ -522,7 +522,7 @@ if(UNIX)
|
||||
HAVE_MALLOC_H)
|
||||
|
||||
check_cxx_source_compiles("#include <malloc.h>
|
||||
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 <sys/resource.h>
|
||||
|
Loading…
Reference in New Issue
Block a user