From 00720788570325594688eb0f2d8db548656e44c2 Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Tue, 23 Oct 2012 12:57:56 +0400 Subject: [PATCH] Hide non-windows variable in gtest --- modules/ts/src/ts_gtest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/ts/src/ts_gtest.cpp b/modules/ts/src/ts_gtest.cpp index 4144f026f2..96bb089bb8 100644 --- a/modules/ts/src/ts_gtest.cpp +++ b/modules/ts/src/ts_gtest.cpp @@ -6352,7 +6352,9 @@ namespace internal { // Valid only for fast death tests. Indicates the code is running in the // child process of a fast style death test. +# if !GTEST_OS_WINDOWS static bool g_in_fast_death_test_child = false; +# endif // Returns a Boolean value indicating whether the caller is currently // executing in the context of the death test child process. Tools such as