martine/ninja — pull request #334 by jonforums (2012-06-16 16:21:18+00:00)
Title: Enable both mingw and mingw-w64 builds on windows

Successfully tested with mingw + gcc 4.6.2 and mingw-w64 + gcc 4.7.1 builds on win7 32bit ultimate.

Two issues:

1. current mingw.org headers guard `GetProcessId` with a check of `_WIN32_WINNT>=0x0501`as also discussed in #220. Current mingw-w64 headers do not have this issue. This pull requests includes a commit with a simple fix for mingw.org headers that can be overridden
2. `configure.py` current use of single quotes for `-DNINJA_PYTHON` breaks poor little cmd.exe