Merge pull request #11797 from nix-windows/windows-build/eval-error

Fix compilation of eval under Windows
This commit is contained in:
Eelco Dolstra 2024-11-04 13:37:16 +01:00 committed by GitHub
commit 655bfa6b59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2834,7 +2834,9 @@ void EvalState::printStatistics()
#endif
#if HAVE_BOEHMGC
{GC_is_incremental_mode() ? "gcNonIncremental" : "gc", gcFullOnlyTime},
#ifndef _WIN32 // TODO implement
{GC_is_incremental_mode() ? "gcNonIncrementalFraction" : "gcFraction", gcFullOnlyTime / cpuTime},
#endif
#endif
};
topObj["envs"] = {