From 813d202a306f1e7f582ad00da78f5ff5a94a4680 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 18 Oct 2019 13:57:32 +0200 Subject: Fix MinGW build --- test/btree_test.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/btree_test.c') diff --git a/test/btree_test.c b/test/btree_test.c index 3b41984..5ffcd87 100644 --- a/test/btree_test.c +++ b/test/btree_test.c @@ -460,6 +460,7 @@ main(int argc, char** argv) } printf("\n"); +#ifndef _WIN32 const size_t total_n_allocs = test_malloc_get_n_allocs(); const size_t fail_n_elems = 1000; printf("Testing 0 ... %zu failed allocations\n", total_n_allocs); @@ -473,6 +474,7 @@ main(int argc, char** argv) } test_malloc_reset((size_t)-1); +#endif return EXIT_SUCCESS; } -- cgit v1.2.1