diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-03-31 16:27:55 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-03-31 16:27:55 +0000 |
commit | 6a26383e31cf79dd0acf89bf3a53c7a805decf1d (patch) | |
tree | 95a4ccf0c315fb0f8020f3e06c871f97eb44ddd9 /test/gtest_unittest.cc | |
parent | 3e54f5a3715f2c0b4425e55cc5d42dd42f4eda54 (diff) | |
download | googletest-6a26383e31cf79dd0acf89bf3a53c7a805decf1d.tar.gz googletest-6a26383e31cf79dd0acf89bf3a53c7a805decf1d.tar.bz2 googletest-6a26383e31cf79dd0acf89bf3a53c7a805decf1d.zip |
Cleans up the use of GTEST_OS_WINDOWS and _MSC_VER.
Diffstat (limited to 'test/gtest_unittest.cc')
-rw-r--r-- | test/gtest_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/gtest_unittest.cc b/test/gtest_unittest.cc index 9a731eeb..8e4b813c 100644 --- a/test/gtest_unittest.cc +++ b/test/gtest_unittest.cc @@ -3148,9 +3148,9 @@ TEST(AssertionTest, ExpectWorksWithUncopyableObject) { // The version of gcc used in XCode 2.2 has a bug and doesn't allow -// anonymous enums in assertions. Therefore the following test is -// done only on Linux and Windows. -#if GTEST_OS_LINUX || GTEST_OS_WINDOWS +// anonymous enums in assertions. Therefore the following test is not +// done on Mac. +#if !GTEST_OS_MAC // Tests using assertions with anonymous enums. enum { @@ -3195,7 +3195,7 @@ TEST(AssertionTest, AnonymousEnum) { "Value of: CASE_B"); } -#endif // GTEST_OS_LINUX || GTEST_OS_WINDOWS +#endif // !GTEST_OS_MAC #if GTEST_OS_WINDOWS |