]> git-server-git.apps.pok.os.sepia.ceph.com Git - googletest.git/commitdiff
Use #if and not #ifdef to check filesystem support
authorJulien Combattelli <julien.combattelli@gmail.com>
Thu, 27 Jul 2023 08:19:12 +0000 (10:19 +0200)
committerJulien Combattelli <julien.combattelli@gmail.com>
Sat, 29 Jul 2023 13:54:54 +0000 (15:54 +0200)
googletest/src/gtest-internal-inl.h

index 1e9b5c266dd67cee2578bfd7b5dcfe61f6483bad..5b7fcbd065091cc4eb32f9cdb03b6c861b8c2542 100644 (file)
@@ -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