Fix build with MinGW-w64

This commit is contained in:
Arkadiy Shapkin
2016-09-05 00:57:49 +03:00
parent ed9d1e1ff9
commit d8fe70f477
2 changed files with 2 additions and 2 deletions

View File

@@ -1295,7 +1295,7 @@ TEST(WindowsTypesTest, HANDLEIsVoidStar) {
StaticAssertTypeEq<HANDLE, void*>();
}
#if GTEST_OS_WINDOWS_MINGW
#if GTEST_OS_WINDOWS_MINGW && !defined(__MINGW64_VERSION_MAJOR)
TEST(WindowsTypesTest, _CRITICAL_SECTIONIs_CRITICAL_SECTION) {
StaticAssertTypeEq<CRITICAL_SECTION, _CRITICAL_SECTION>();
}