martine/ninja — pull request #558 by nico (2013-04-29 15:59:11+00:00)
Title: Introduce a Truncate() function that works on POSIX and Windows.

Hopefully fixes the build on Windows.