[llvm-commits] [llvm] r115945 - /llvm/trunk/utils/unittest/googletest/gtest.cc
Michael J. Spencer
bigcheesegs at gmail.com
Thu Oct 7 11:29:44 PDT 2010
Author: mspencer
Date: Thu Oct 7 13:29:44 2010
New Revision: 115945
URL: http://llvm.org/viewvc/llvm-project?rev=115945&view=rev
Log:
gtest: Fix warnings on MinGW.
Modified:
llvm/trunk/utils/unittest/googletest/gtest.cc
Modified: llvm/trunk/utils/unittest/googletest/gtest.cc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/unittest/googletest/gtest.cc?rev=115945&r1=115944&r2=115945&view=diff
==============================================================================
--- llvm/trunk/utils/unittest/googletest/gtest.cc (original)
+++ llvm/trunk/utils/unittest/googletest/gtest.cc Thu Oct 7 13:29:44 2010
@@ -1964,8 +1964,8 @@
} // namespace internal
-#if GTEST_OS_WINDOWS
-// We are on Windows.
+#if GTEST_HAS_SEH
+// We are on Windows with SEH.
// Adds an "exception thrown" fatal failure to the current test.
static void AddExceptionThrownFailure(DWORD exception_code,
@@ -1978,7 +1978,7 @@
message.GetString());
}
-#endif // GTEST_OS_WINDOWS
+#endif // GTEST_HAS_SEH
// Google Test requires all tests in the same test case to use the same test
// fixture class. This function checks if the current test has the
More information about the llvm-commits
mailing list