martine/ninja — pull request #819 by nico (2014-09-18 23:10:21+00:00)
Title: Fix building tests on Windows again.

Turns out gtest was pulling in sys/stat.h, and we were
using stat() through that in tests. This doesn't work
with old MSVCs, so we should probably replace that with
RealDiskInterface in a follow-up.