summaryrefslogtreecommitdiffstats
path: root/src/ninja.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ninja.cc')
-rw-r--r--src/ninja.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ninja.cc b/src/ninja.cc
index 7517785..b07c759 100644
--- a/src/ninja.cc
+++ b/src/ninja.cc
@@ -708,7 +708,12 @@ reload:
printf("\n");
int count = (int)globals.state->paths_.size();
- int buckets = (int)globals.state->paths_.bucket_count();
+ int buckets =
+#ifdef _WIN32
+ (int)globals.state->paths_.comp.bucket_size;
+#else
+ (int)globals.state->paths_.bucket_count();
+#endif
printf("path->node hash load %.2f (%d entries / %d buckets)\n",
count / (double) buckets, count, buckets);
}