Improve handling of fatal errors on Windows, support creation of minidumps
Changed #ifdef _WIN32 to #ifdef _MSC_VER to make sure that MinGW compiles happily
fix win32 compile, fix BuildLogTest.WriteRead on 2nd run
don't leak file handle on fail-to-upgrade case
remove unnecessary manual Close()
Make StringPiece data members private.

Signed-off-by: Thiago Farina <tfarina@chromium.org>
Rename parsers.* to manifest_parser.*

So it matches with the class name in there.

Signed-off-by: Thiago Farina <tfarina@chromium.org>
Merge pull request #357 from tfarina/manifest-parser

Rename parsers.* to manifest_parser.*
Fix missing POLLRDHUP constant on older systems.

Attempting to compile with g++ 4.1.2 failed because the POLLRDHUP
constant was not defined when <poll.h> is included.
Clarify comment wording.
Merge pull request #359 from tedv/old-arch

Fix missing POLLRDHUP constant on older systems.
Efficiently check for emptiness
Merge pull request #361 from HeisSpiter/master

Check more efficiently for emptiness
print edges per second

prints the rate of finished edges per second to the console,
for instance with NINJA_STATUS="[%s/%t %o(%c)/s] ":

[132/1922 16.1(14)/s]

16.1 is the average for all processed files (here 132 since start)
14 is the average of the last n files while n is the number specifies by
-j (or its default)
GCC 4.7 needs cstdio
Add missing include of <sys/resouce.h>
Remove #pragma once from our header files.

https://github.com/martine/ninja/issues/358

Signed-off-by: Thiago Farina <tfarina@chromium.org>
Merge pull request #364 from tfarina/pragma-once

Remove #pragma once from our header files.
fix manual to reflect reality of depfile cleaning

Fixes issue #362.
Merge pull request #363 from usovalx/subprocess_test_build_failure

Add missing include of <sys/resouce.h>