#2170 fix warning of undefined GTEST_HAS_DEATH_TEST

This commit is contained in:
Andrey Kamaev 2012-08-21 18:59:51 +04:00
parent 10dcf9ea39
commit a840d929ac

View File

@ -1702,6 +1702,8 @@ inline bool operator!=(const GTEST_10_TUPLE_(T)& t,
GTEST_OS_OPENBSD || GTEST_OS_QNX)
# define GTEST_HAS_DEATH_TEST 1
# include <vector> // NOLINT
#else
# define GTEST_HAS_DEATH_TEST 0
#endif
// We don't support MSVC 7.1 with exceptions disabled now. Therefore