Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The previous pull request broke compilation with the Mingw toolchain, which does not provide <atlcore.h>. Moreover, this massive header was only used to expand a macro that generates a static volatile variable under the hood (which is not necessary here). Replace it with with a simpler and more portable code path to fix the build. Also, ensure that a broken DiskInterfaceTest, which was only disabled when using the Microsoft compiler, is also disabled for Mingw (note that the whole test code is inside a #ifdef _WIN32 .. #endif block). After this patch, a `ninja_test.exe` generated on Linux with the Mingw toolchain runs and succeeds properly on a Windows machine.
- Loading branch information