cmake HAVE_C_MALLOC_TRIM examples

netdata/netdata CMakeLists.txt :577

check_c_source_compiles("
#include <malloc.h>
int main() {
        malloc_trim(0);
        return 0;
}
" HAVE_C_MALLOC_TRIM)