summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ninja.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/ninja.cc b/src/ninja.cc
index 7585628..fb273be 100644
--- a/src/ninja.cc
+++ b/src/ninja.cc
@@ -633,12 +633,7 @@ void DumpMetrics(Globals* globals) {
printf("\n");
int count = (int)globals->state->paths_.size();
- int buckets =
-#ifdef _MSC_VER
- (int)globals->state->paths_.comp.bucket_size;
-#else
- (int)globals->state->paths_.bucket_count();
-#endif
+ int buckets = (int)globals->state->paths_.bucket_count();
printf("path->node hash load %.2f (%d entries / %d buckets)\n",
count / (double) buckets, count, buckets);
}