From a840d929aca2ffc6429882e92570b69850e88784 Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Tue, 21 Aug 2012 18:59:51 +0400 Subject: [PATCH] #2170 fix warning of undefined GTEST_HAS_DEATH_TEST --- modules/ts/include/opencv2/ts/ts_gtest.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/ts/include/opencv2/ts/ts_gtest.h b/modules/ts/include/opencv2/ts/ts_gtest.h index 1300ff2..f98f71b 100644 --- a/modules/ts/include/opencv2/ts/ts_gtest.h +++ b/modules/ts/include/opencv2/ts/ts_gtest.h @@ -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 // NOLINT +#else +# define GTEST_HAS_DEATH_TEST 0 #endif // We don't support MSVC 7.1 with exceptions disabled now. Therefore -- 2.7.4