From efe6bb1db894556b5125b3b3147d6c37fbaffa51 Mon Sep 17 00:00:00 2001 From: Julien Combattelli Date: Thu, 27 Jul 2023 10:19:12 +0200 Subject: [PATCH] Use #if and not #ifdef to check filesystem support --- googletest/src/gtest-internal-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/googletest/src/gtest-internal-inl.h b/googletest/src/gtest-internal-inl.h index 1e9b5c26..5b7fcbd0 100644 --- a/googletest/src/gtest-internal-inl.h +++ b/googletest/src/gtest-internal-inl.h @@ -672,7 +672,7 @@ class GTEST_API_ UnitTestImpl { void AddTestInfo(internal::SetUpTestSuiteFunc set_up_tc, internal::TearDownTestSuiteFunc tear_down_tc, TestInfo* test_info) { -#ifdef GTEST_HAS_FILE_SYSTEM +#if GTEST_HAS_FILE_SYSTEM // In order to support thread-safe death tests, we need to // remember the original working directory when the test program // was first invoked. We cannot do this in RUN_ALL_TESTS(), as