Closed kraj closed 7 years ago
malloc_trim is gnu specific and not all libc implement it, threfore write a configure check to poke for it first and use the define to guard its use.
Helps in compiling on musl based systems
Signed-off-by: Khem Raj raj.khem@gmail.com
Looks good to me - thanks :)
BTW I'm super curious at the musl use-case with cve-check-tool - would love if you'd elaborate on that :)
cve-check-tool
malloc_trim is gnu specific and not all libc implement it, threfore write a configure check to poke for it first and use the define to guard its use.
Helps in compiling on musl based systems
Signed-off-by: Khem Raj raj.khem@gmail.com