yaron.keren added a subscriber: yaron.keren. yaron.keren added a comment. We don't support building with mingw.org. mingw-w64 has its own versionhelpers.h with IsWindows8OrGreater(), at least from gcc 4.93, probably earlier. http://reviews.llvm.org/D15553