#2170 fix warning of undefined GTEST_HAS_DEATH_TEST
This commit is contained in:
parent
10dcf9ea39
commit
a840d929ac
@ -1702,6 +1702,8 @@ inline bool operator!=(const GTEST_10_TUPLE_(T)& t,
|
|||||||
GTEST_OS_OPENBSD || GTEST_OS_QNX)
|
GTEST_OS_OPENBSD || GTEST_OS_QNX)
|
||||||
# define GTEST_HAS_DEATH_TEST 1
|
# define GTEST_HAS_DEATH_TEST 1
|
||||||
# include <vector> // NOLINT
|
# include <vector> // NOLINT
|
||||||
|
#else
|
||||||
|
# define GTEST_HAS_DEATH_TEST 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// We don't support MSVC 7.1 with exceptions disabled now. Therefore
|
// We don't support MSVC 7.1 with exceptions disabled now. Therefore
|
||||||
|
Loading…
x
Reference in New Issue
Block a user