summaryrefslogtreecommitdiffstats
path: root/test/hash_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/hash_test.c')
-rw-r--r--test/hash_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/hash_test.c b/test/hash_test.c
index c2ecb2d..f4ebdfe 100644
--- a/test/hash_test.c
+++ b/test/hash_test.c
@@ -205,6 +205,7 @@ main(void)
return 1;
}
+#ifndef _WIN32
const size_t total_n_allocs = test_malloc_get_n_allocs();
printf("Testing 0 ... %zu failed allocations\n", total_n_allocs);
expect_failure = true;
@@ -214,6 +215,7 @@ main(void)
}
test_malloc_reset((size_t)-1);
+#endif
return 0;
}