Skip to content
Browse files

Merge pull request #498 from pck/cygwin

util.cc: Reusing windows workaround for cygwin.
  • Loading branch information...
2 parents 0573656 + bed9541 commit 27f7528ebdae1586501fb083f8d5d3be711bb367 @martine martine committed Feb 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/util.cc
View
2 src/util.cc
@@ -325,7 +325,7 @@ int GetProcessorCount() {
}
#endif
-#ifdef _WIN32
+#if defined(_WIN32) || defined(__CYGWIN__)
double GetLoadAverage() {
// TODO(nicolas.despres@gmail.com): Find a way to implement it on Windows.
// Remember to also update Usage() when this is fixed.

0 comments on commit 27f7528

Please sign in to comment.
Something went wrong with that request. Please try again.