Displaying 1 result from an estimated 1 matches for "gtest_os_windows".
2009 Jan 27
3
[LLVMdev] [PATCH] llvm/llvm-gcc broken on mingw32
...=================================================
--- utils/unittest/googletest/gtest.cc (revision 63080)
+++ utils/unittest/googletest/gtest.cc (working copy)
@@ -1993,7 +1993,7 @@
if (!HasSameFixtureClass()) return;
internal::UnitTestImpl* const impl = internal::GetUnitTestImpl();
-#ifdef GTEST_OS_WINDOWS
+#if defined(GTEST_OS_WINDOWS) && !defined(__MINGW__) && !defined(__MINGW32__)
// We are on Windows.
impl->os_stack_trace_getter()->UponLeavingGTest();
__try {
@@ -2025,7 +2025,7 @@
AddExceptionThrownFailure(GetExceptionCode(), "TearDown()");
}
-#e...